forked from CinemaMod/java-cef
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/chromiumembedded/java-cef
# Conflicts: # CMakeLists.txt # java/org/cef/CefApp.java # java/org/cef/CefClient.java # java/org/cef/browser/CefBrowserFactory.java # java/org/cef/browser/CefBrowserOsr.java # java/org/cef/browser/CefBrowserWr.java # java/org/cef/browser/CefBrowser_N.java # java/tests/detailed/MainFrame.java # java/tests/simple/MainFrame.java # native/CefBrowser_N.cpp # native/CefBrowser_N.h
- Loading branch information
Showing
45 changed files
with
1,268 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Copyright (c) 2024 The Chromium Embedded Framework Authors. All rights | ||
// reserved. Use of this source code is governed by a BSD-style license that | ||
// can be found in the LICENSE file. | ||
|
||
package org.cef; | ||
|
||
/** | ||
* Browser initialization settings. Specify NULL or 0 to get the recommended | ||
* default values. The consequences of using custom values may not be well | ||
* tested. Many of these and other settings can also configured using command- | ||
* line switches. | ||
*/ | ||
public class CefBrowserSettings { | ||
/** | ||
* The maximum rate in frames per second (fps) that CefRenderHandler::OnPaint | ||
* will be called for a windowless browser. The actual fps may be lower if | ||
* the browser cannot generate frames at the requested rate. The minimum | ||
* value is 1 and the maximum value is 60 (default 30). This value can also | ||
* be changed dynamically via {@code CefBrowser#setWindowlessFrameRate} | ||
*/ | ||
public int windowless_frame_rate = 0; | ||
|
||
public CefBrowserSettings() {} | ||
|
||
@Override | ||
public CefBrowserSettings clone() { | ||
CefBrowserSettings tmp = new CefBrowserSettings(); | ||
tmp.windowless_frame_rate = windowless_frame_rate; | ||
return tmp; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.