mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Improve GetZoomLevel/SetZoomLevel documentation (issue #666).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@759 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -273,13 +273,17 @@ class CefBrowserHost : public virtual CefBase {
|
||||
virtual CefString GetDevToolsURL(bool http_scheme) =0;
|
||||
|
||||
///
|
||||
// Get the zoom level. This method can only be called on the UI thread.
|
||||
// Get the current zoom level. The default zoom level is 0.0. This method can
|
||||
// only be called on the UI thread.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual double GetZoomLevel() =0;
|
||||
|
||||
///
|
||||
// Change the zoom level to the specified value.
|
||||
// Change the zoom level to the specified value. Specify 0.0 to reset the
|
||||
// zoom level. If called on the UI thread the change will be applied
|
||||
// immediately. Otherwise, the change will be applied asynchronously on the
|
||||
// UI thread.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void SetZoomLevel(double zoomLevel) =0;
|
||||
|
Reference in New Issue
Block a user