Chromium Code Reviews| Index: content/browser/devtools/protocol/ui_handler.cc |
| diff --git a/content/browser/devtools/protocol/ui_handler.cc b/content/browser/devtools/protocol/ui_handler.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6206688e3e2e8ea574cf5dedb28d0fd60e38389b |
| --- /dev/null |
| +++ b/content/browser/devtools/protocol/ui_handler.cc |
| @@ -0,0 +1,51 @@ |
| +// 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/ui_handler.h" |
| + |
| +namespace content { |
| +namespace protocol { |
| + |
| +UIHandler::UIHandler() : DevToolsDomainHandler(UI::Metainfo::domainName) {} |
| + |
| +UIHandler::~UIHandler() {} |
| + |
| +void UIHandler::Wire(UberDispatcher* dispatcher) { |
| + UI::Dispatcher::wire(dispatcher, this); |
| +} |
| + |
| +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
|
| + return Response::Error("not implemented"); |
| +} |
| + |
| +Response UIHandler::MaximizeWindow(int windowId) { |
| + return Response::Error("not implemented"); |
| +} |
| + |
| +Response UIHandler::MinimizeWindow(int windowId) { |
| + return Response::Error("not implemented"); |
| +} |
| + |
| +Response UIHandler::GetWindowBounds(int windowId, |
| + int* left, |
| + int* top, |
| + int* width, |
| + int* height) { |
| + return Response::Error("not implemented"); |
| +} |
| + |
| +Response UIHandler::SetWindowBounds(int windowId, |
| + Maybe<int> left, |
| + Maybe<int> top, |
| + Maybe<int> width, |
| + Maybe<int> height) { |
| + return Response::Error("not implemented"); |
| +} |
| + |
| +Response UIHandler::SetWindowFullscreen(int windowId, bool fullscreen) { |
| + return Response::Error("not implemented"); |
| +} |
| + |
| +} // namespace protocol |
| +} // namespace content |