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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/devtools/protocol/browser_handler.h"
6
7 namespace content {
8 namespace protocol {
9
10 BrowserHandler::BrowserHandler()
11 : DevToolsDomainHandler(Browser::Metainfo::domainName) {}
12
13 BrowserHandler::~BrowserHandler() {}
14
15 void BrowserHandler::Wire(UberDispatcher* dispatcher) {
16 Browser::Dispatcher::wire(dispatcher, this);
17 }
18
19 Response BrowserHandler::GetWindowForTarget(
20 const String& targetId,
21 int* windowId,
22 std::unique_ptr<Browser::Bounds>* bounds) {
23 return Response::Error("not implemented");
24 }
25
26 Response BrowserHandler::GetWindowBounds(
27 int windowId,
28 std::unique_ptr<Browser::Bounds>* bounds) {
29 return Response::Error("not implemented");
30 }
31
32 Response BrowserHandler::SetWindowBounds(
33 int windowId,
34 std::unique_ptr<Browser::Bounds> bounds) {
35 return Response::Error("not implemented");
36 }
37
38 } // namespace protocol
39 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698