Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 2177333002: Move setWindowRect and windowRect calls from WebViewClient to WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/page/ChromeClient.h
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h
index f6a5b080f18a4a94c7657da0135112bc37bf916e..7a68ae01e432d5a4b8164a2eed9dc05e7d4efdf5 100644
--- a/third_party/WebKit/Source/core/page/ChromeClient.h
+++ b/third_party/WebKit/Source/core/page/ChromeClient.h
@@ -85,8 +85,8 @@ public:
// The specified rectangle is adjusted for the minimum window size and the
// screen, then setWindowRect with the adjusted rectangle is called.
- void setWindowRectWithAdjustment(const IntRect&);
- virtual IntRect windowRect() = 0;
+ void setWindowRectWithAdjustment(const IntRect&, LocalFrame*);
+ virtual IntRect rootWindowRect() = 0;
virtual IntRect pageRect() = 0;
@@ -288,7 +288,7 @@ protected:
~ChromeClient() override { }
virtual void showMouseOverURL(const HitTestResult&) = 0;
- virtual void setWindowRect(const IntRect&) = 0;
+ virtual void setWindowRect(const IntRect&, LocalFrame*) = 0;
virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, bool isReload) = 0;
virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0;
virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0;

Powered by Google App Engine
This is Rietveld 408576698