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

Unified Diff: chrome/browser/devtools/chrome_devtools_manager_delegate.h

Issue 2813553005: Add a new set of commands to resize and position windows (Closed)
Patch Set: use interactive_ui_tests Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/devtools/chrome_devtools_manager_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/chrome_devtools_manager_delegate.h
diff --git a/chrome/browser/devtools/chrome_devtools_manager_delegate.h b/chrome/browser/devtools/chrome_devtools_manager_delegate.h
index 6dcaef263c9c6242ddad29abd461d8ea9d4b5ccb..e79984f0e78aee58c682182f82ba74ec9251caf2 100644
--- a/chrome/browser/devtools/chrome_devtools_manager_delegate.h
+++ b/chrome/browser/devtools/chrome_devtools_manager_delegate.h
@@ -8,6 +8,7 @@
#include <map>
#include <memory>
#include <set>
+#include <string>
#include "base/compiler_specific.h"
#include "base/macros.h"
@@ -31,6 +32,7 @@ class ChromeDevToolsManagerDelegate :
private:
class HostData;
+ friend class DevToolsManagerDelegateTest;
using RemoteLocations = std::set<net::HostPortPair>;
// content::DevToolsManagerDelegate implementation.
@@ -60,6 +62,20 @@ class ChromeDevToolsManagerDelegate :
int command_id,
base::DictionaryValue* params);
+ std::unique_ptr<base::DictionaryValue> HandleBrowserCommand(
+ int id,
+ std::string method,
+ base::DictionaryValue* params);
+ static std::unique_ptr<base::DictionaryValue> GetWindowForTarget(
+ int id,
+ base::DictionaryValue* params);
+ static std::unique_ptr<base::DictionaryValue> GetWindowBounds(
+ int id,
+ base::DictionaryValue* params);
+ static std::unique_ptr<base::DictionaryValue> SetWindowBounds(
+ int id,
+ base::DictionaryValue* params);
+
std::unique_ptr<DevToolsNetworkProtocolHandler> network_protocol_handler_;
std::map<content::DevToolsAgentHost*, std::unique_ptr<HostData>> host_data_;
« no previous file with comments | « no previous file | chrome/browser/devtools/chrome_devtools_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698