Chromium Code Reviews| OLD | NEW |
|---|---|
| (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/ui_handler.h" | |
| 6 | |
| 7 namespace content { | |
| 8 namespace protocol { | |
| 9 | |
| 10 UIHandler::UIHandler() : DevToolsDomainHandler(UI::Metainfo::domainName) {} | |
| 11 | |
| 12 UIHandler::~UIHandler() {} | |
| 13 | |
| 14 void UIHandler::Wire(UberDispatcher* dispatcher) { | |
| 15 UI::Dispatcher::wire(dispatcher, this); | |
| 16 } | |
| 17 | |
| 18 Response UIHandler::GetWindowFromTarget(const String& targetId, int* windowId) { | |
|
dgozman
2017/03/20 22:00:48
It's sad that we have to do a stub here - sorry fo
| |
| 19 return Response::Error("not implemented"); | |
| 20 } | |
| 21 | |
| 22 Response UIHandler::MaximizeWindow(int windowId) { | |
| 23 return Response::Error("not implemented"); | |
| 24 } | |
| 25 | |
| 26 Response UIHandler::MinimizeWindow(int windowId) { | |
| 27 return Response::Error("not implemented"); | |
| 28 } | |
| 29 | |
| 30 Response UIHandler::GetWindowBounds(int windowId, | |
| 31 int* left, | |
| 32 int* top, | |
| 33 int* width, | |
| 34 int* height) { | |
| 35 return Response::Error("not implemented"); | |
| 36 } | |
| 37 | |
| 38 Response UIHandler::SetWindowBounds(int windowId, | |
| 39 Maybe<int> left, | |
| 40 Maybe<int> top, | |
| 41 Maybe<int> width, | |
| 42 Maybe<int> height) { | |
| 43 return Response::Error("not implemented"); | |
| 44 } | |
| 45 | |
| 46 Response UIHandler::SetWindowFullscreen(int windowId, bool fullscreen) { | |
| 47 return Response::Error("not implemented"); | |
| 48 } | |
| 49 | |
| 50 } // namespace protocol | |
| 51 } // namespace content | |
| OLD | NEW |