mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add CefZoomHandler interface to support custom zoom handling (issue #733).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@824 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
#include "include/cef_render_handler.h"
|
||||
#include "include/cef_request_handler.h"
|
||||
#include "include/cef_v8context_handler.h"
|
||||
#include "include/cef_zoom_handler.h"
|
||||
|
||||
///
|
||||
// Implement this interface to provide handler implementations.
|
||||
@@ -181,6 +182,15 @@ class CefClient : public virtual CefBase {
|
||||
virtual CefRefPtr<CefGeolocationHandler> GetGeolocationHandler() {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
///
|
||||
// Return the handler for zoom events. If no handler is provided the default
|
||||
// zoom behavior will be used.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual CefRefPtr<CefZoomHandler> GetZoomHandler() {
|
||||
return NULL;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // CEF_INCLUDE_CEF_CLIENT_H_
|
||||
|
||||
Reference in New Issue
Block a user