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

Side by Side Diff: content/browser/devtools/renderer_overrides_handler.h

Issue 501153006: [DevTools] Implement Page.canEmulate capability. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | content/browser/devtools/renderer_overrides_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted_memory.h" 10 #include "base/memory/ref_counted_memory.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 scoped_refptr<DevToolsProtocol::Response> PageReload( 77 scoped_refptr<DevToolsProtocol::Response> PageReload(
78 scoped_refptr<DevToolsProtocol::Command> command); 78 scoped_refptr<DevToolsProtocol::Command> command);
79 scoped_refptr<DevToolsProtocol::Response> PageGetNavigationHistory( 79 scoped_refptr<DevToolsProtocol::Response> PageGetNavigationHistory(
80 scoped_refptr<DevToolsProtocol::Command> command); 80 scoped_refptr<DevToolsProtocol::Command> command);
81 scoped_refptr<DevToolsProtocol::Response> PageNavigateToHistoryEntry( 81 scoped_refptr<DevToolsProtocol::Response> PageNavigateToHistoryEntry(
82 scoped_refptr<DevToolsProtocol::Command> command); 82 scoped_refptr<DevToolsProtocol::Command> command);
83 scoped_refptr<DevToolsProtocol::Response> PageSetTouchEmulationEnabled( 83 scoped_refptr<DevToolsProtocol::Response> PageSetTouchEmulationEnabled(
84 scoped_refptr<DevToolsProtocol::Command> command); 84 scoped_refptr<DevToolsProtocol::Command> command);
85 scoped_refptr<DevToolsProtocol::Response> PageCaptureScreenshot( 85 scoped_refptr<DevToolsProtocol::Response> PageCaptureScreenshot(
86 scoped_refptr<DevToolsProtocol::Command> command); 86 scoped_refptr<DevToolsProtocol::Command> command);
87 scoped_refptr<DevToolsProtocol::Response> PageCanEmulate(
88 scoped_refptr<DevToolsProtocol::Command> command);
87 scoped_refptr<DevToolsProtocol::Response> PageCanScreencast( 89 scoped_refptr<DevToolsProtocol::Response> PageCanScreencast(
88 scoped_refptr<DevToolsProtocol::Command> command); 90 scoped_refptr<DevToolsProtocol::Command> command);
89 scoped_refptr<DevToolsProtocol::Response> PageStartScreencast( 91 scoped_refptr<DevToolsProtocol::Response> PageStartScreencast(
90 scoped_refptr<DevToolsProtocol::Command> command); 92 scoped_refptr<DevToolsProtocol::Command> command);
91 scoped_refptr<DevToolsProtocol::Response> PageStopScreencast( 93 scoped_refptr<DevToolsProtocol::Response> PageStopScreencast(
92 scoped_refptr<DevToolsProtocol::Command> command); 94 scoped_refptr<DevToolsProtocol::Command> command);
93 scoped_refptr<DevToolsProtocol::Response> PageQueryUsageAndQuota( 95 scoped_refptr<DevToolsProtocol::Response> PageQueryUsageAndQuota(
94 scoped_refptr<DevToolsProtocol::Command>); 96 scoped_refptr<DevToolsProtocol::Command>);
95 scoped_refptr<DevToolsProtocol::Response> PageSetColorPickerEnabled( 97 scoped_refptr<DevToolsProtocol::Response> PageSetColorPickerEnabled(
96 scoped_refptr<DevToolsProtocol::Command>); 98 scoped_refptr<DevToolsProtocol::Command>);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 int last_cursor_x_; 140 int last_cursor_x_;
139 int last_cursor_y_; 141 int last_cursor_y_;
140 RenderWidgetHost::MouseEventCallback mouse_event_callback_; 142 RenderWidgetHost::MouseEventCallback mouse_event_callback_;
141 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_; 143 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_;
142 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler); 144 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler);
143 }; 145 };
144 146
145 } // namespace content 147 } // namespace content
146 148
147 #endif // CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ 149 #endif // CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/renderer_overrides_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698