mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-21 14:40:49 +01:00
Improve GetZoomLevel/SetZoomLevel documentation (issue #666).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@760 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
1ed3754569
commit
234acdd760
@ -180,12 +180,14 @@ typedef struct _cef_browser_t {
|
|||||||
int clearSelection);
|
int clearSelection);
|
||||||
|
|
||||||
///
|
///
|
||||||
// Get the zoom level.
|
// Get the current zoom level. The default zoom level is 0.0. This function
|
||||||
|
// can only be called on the UI thread.
|
||||||
///
|
///
|
||||||
double (CEF_CALLBACK *get_zoom_level)(struct _cef_browser_t* self);
|
double (CEF_CALLBACK *get_zoom_level)(struct _cef_browser_t* self);
|
||||||
|
|
||||||
///
|
///
|
||||||
// Change the zoom level to the specified value.
|
// Change the zoom level to the specified value. Specify 0.0 to reset the zoom
|
||||||
|
// level. The change will be applied asynchronously on the UI thread.
|
||||||
///
|
///
|
||||||
void (CEF_CALLBACK *set_zoom_level)(struct _cef_browser_t* self,
|
void (CEF_CALLBACK *set_zoom_level)(struct _cef_browser_t* self,
|
||||||
double zoomLevel);
|
double zoomLevel);
|
||||||
|
@ -208,13 +208,15 @@ class CefBrowser : public virtual CefBase {
|
|||||||
virtual void StopFinding(bool clearSelection) =0;
|
virtual void StopFinding(bool clearSelection) =0;
|
||||||
|
|
||||||
///
|
///
|
||||||
// Get the zoom level.
|
// Get the current zoom level. The default zoom level is 0.0. This method can
|
||||||
|
// only be called on the UI thread.
|
||||||
///
|
///
|
||||||
/*--cef()--*/
|
/*--cef()--*/
|
||||||
virtual double GetZoomLevel() =0;
|
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. The change will be applied asynchronously on the UI thread.
|
||||||
///
|
///
|
||||||
/*--cef()--*/
|
/*--cef()--*/
|
||||||
virtual void SetZoomLevel(double zoomLevel) =0;
|
virtual void SetZoomLevel(double zoomLevel) =0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user