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 60cde3c90ba93d5af5382a035301acccaf634e05..eeb894a149d48a8ecd0eff156a3d102dd44f6ca3 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -351,7 +351,7 @@ class CONTENT_EXPORT WebContentsImpl |
void ViewFrameSource(const GURL& url, const PageState& page_state) override; |
int GetMinimumZoomPercent() const override; |
int GetMaximumZoomPercent() const override; |
- void ResetPageScale() override; |
+ void SetPageScale(float page_scale_factor) override; |
gfx::Size GetPreferredSize() const override; |
bool GotResponseToLockMouseRequest(bool allowed) override; |
bool HasOpener() const override; |
@@ -836,6 +836,7 @@ class CONTENT_EXPORT WebContentsImpl |
void OnGoToEntryAtOffset(int offset); |
void OnUpdateZoomLimits(int minimum_percent, |
int maximum_percent); |
+ void OnPageScaleFactorChanged(float page_scale_factor); |
void OnEnumerateDirectory(int request_id, const base::FilePath& path); |
void OnRegisterProtocolHandler(const std::string& protocol, |
@@ -1318,6 +1319,8 @@ class CONTENT_EXPORT WebContentsImpl |
PageImportanceSignals page_importance_signals_; |
+ bool page_scale_factor_is_one_; |
+ |
base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |