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

Unified Diff: content/browser/devtools/protocol/page_handler.h

Issue 2734123004: add a new set of commands to resize and position windows (Closed)
Patch Set: move DEPS include down to content/browser/devtools Created 3 years, 9 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: content/browser/devtools/protocol/page_handler.h
diff --git a/content/browser/devtools/protocol/page_handler.h b/content/browser/devtools/protocol/page_handler.h
index 4efbdbdf64d13aa34152d22a296cb3c57cb0b5b4..8148ec4cb7d980b71ae15a88e4df2bfa7f8e8171 100644
--- a/content/browser/devtools/protocol/page_handler.h
+++ b/content/browser/devtools/protocol/page_handler.h
@@ -93,6 +93,18 @@ class PageHandler : public DevToolsDomainHandler,
Response ProcessNavigation(const std::string& response,
int navigation_id) override;
+ Response MaximizeWindow() override;
+ Response MinimizeWindow() override;
+ Response SetWindowFullscreen(Maybe<bool> fullscreen) override;
+ Response SetWindowBounds(Maybe<int> left,
+ Maybe<int> top,
+ Maybe<int> width,
+ Maybe<int> height) override;
+ Response GetWindowBounds(int* left,
+ int* top,
+ int* width,
+ int* height) override;
+
std::unique_ptr<PageNavigationThrottle> CreateThrottleForNavigation(
NavigationHandle* navigation_handle);

Powered by Google App Engine
This is Rietveld 408576698