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

Unified Diff: content/browser/devtools/protocol/browser_handler.cc

Issue 2734123004: add a new set of commands to resize and position windows (Closed)
Patch Set: modify protocol 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/browser_handler.cc
diff --git a/content/browser/devtools/protocol/browser_handler.cc b/content/browser/devtools/protocol/browser_handler.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6077ea5b9de60ba87146f6b457a52af2c3da73d0
--- /dev/null
+++ b/content/browser/devtools/protocol/browser_handler.cc
@@ -0,0 +1,39 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/browser/devtools/protocol/browser_handler.h"
+
+namespace content {
+namespace protocol {
+
+BrowserHandler::BrowserHandler()
+ : DevToolsDomainHandler(Browser::Metainfo::domainName) {}
+
+BrowserHandler::~BrowserHandler() {}
+
+void BrowserHandler::Wire(UberDispatcher* dispatcher) {
+ Browser::Dispatcher::wire(dispatcher, this);
+}
+
+Response BrowserHandler::GetWindowForTarget(
+ const String& targetId,
+ int* windowId,
+ std::unique_ptr<Browser::Bounds>* bounds) {
+ return Response::Error("not implemented");
+}
+
+Response BrowserHandler::GetWindowBounds(
+ int windowId,
+ std::unique_ptr<Browser::Bounds>* bounds) {
+ return Response::Error("not implemented");
+}
+
+Response BrowserHandler::SetWindowBounds(
+ int windowId,
+ std::unique_ptr<Browser::Bounds> bounds) {
+ return Response::Error("not implemented");
+}
+
+} // namespace protocol
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698