| Index: content/browser/web_contents/web_contents_impl.h
|
| diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
|
| index e136c089a42ebe0a20b12be03c0e3ffb08ff0c50..edab52f9f5d2aa90294f40470740d1b69acb4845 100644
|
| --- a/content/browser/web_contents/web_contents_impl.h
|
| +++ b/content/browser/web_contents/web_contents_impl.h
|
| @@ -225,6 +225,21 @@ class CONTENT_EXPORT WebContentsImpl
|
| const ui::AXTreeUpdate&)>;
|
| void RequestAXTreeSnapshot(AXTreeSnapshotCallback callback);
|
|
|
| + // Set a temporary zoom level for the frames associated with this WebContents.
|
| + // If |is_temporary| is true, we are setting a new temporary zoom level,
|
| + // otherwise we are clearing a previously set temporary zoom level.
|
| + void SetTemporaryZoomLevel(double level, bool temporary_zoom_enabled);
|
| +
|
| + // Sets the zoom level for frames associated with this WebContents.
|
| + void UpdateZoom(double level);
|
| +
|
| + // Sets the zoom level for frames associated with this WebContents if it
|
| + // matches |host| and (if non-empty) |scheme|. Matching is done on the
|
| + // last committed entry.
|
| + void UpdateZoomIfNecessary(const std::string& scheme,
|
| + const std::string& host,
|
| + double level);
|
| +
|
| // WebContents ------------------------------------------------------
|
| WebContentsDelegate* GetDelegate() override;
|
| void SetDelegate(WebContentsDelegate* delegate) override;
|
| @@ -518,6 +533,7 @@ class CONTENT_EXPORT WebContentsImpl
|
| void SetIsVirtualKeyboardRequested(bool requested) override;
|
| bool IsVirtualKeyboardRequested() override;
|
| bool IsOverridingUserAgent() override;
|
| + double GetPageZoomLevel() override;
|
|
|
| // NavigatorDelegate ---------------------------------------------------------
|
|
|
|
|