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

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

Issue 433423002: [DevTools] Remove old screencast events code after switch to touch emulator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better error handling Created 6 years, 4 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 | Annotate | Revision Log
« 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 bool success, 91 bool success,
92 const SkBitmap& bitmap); 92 const SkBitmap& bitmap);
93 93
94 void PageQueryUsageAndQuotaCompleted( 94 void PageQueryUsageAndQuotaCompleted(
95 scoped_refptr<DevToolsProtocol::Command>, 95 scoped_refptr<DevToolsProtocol::Command>,
96 scoped_ptr<base::DictionaryValue> response_data); 96 scoped_ptr<base::DictionaryValue> response_data);
97 97
98 void NotifyScreencastVisibility(bool visible); 98 void NotifyScreencastVisibility(bool visible);
99 99
100 // Input domain. 100 // Input domain.
101 scoped_refptr<DevToolsProtocol::Response> InputDispatchMouseEvent(
102 scoped_refptr<DevToolsProtocol::Command> command);
103 scoped_refptr<DevToolsProtocol::Response> InputDispatchGestureEvent(
104 scoped_refptr<DevToolsProtocol::Command> command);
105 scoped_refptr<DevToolsProtocol::Response> InputEmulateTouchFromMouseEvent( 101 scoped_refptr<DevToolsProtocol::Response> InputEmulateTouchFromMouseEvent(
106 scoped_refptr<DevToolsProtocol::Command> command); 102 scoped_refptr<DevToolsProtocol::Command> command);
107 bool DispatchMouseEventFromCommand(
108 scoped_refptr<DevToolsProtocol::Command> command);
109 103
110 DevToolsAgentHost* agent_; 104 DevToolsAgentHost* agent_;
111 scoped_refptr<DevToolsProtocol::Command> screencast_command_; 105 scoped_refptr<DevToolsProtocol::Command> screencast_command_;
112 bool has_last_compositor_frame_metadata_; 106 bool has_last_compositor_frame_metadata_;
113 cc::CompositorFrameMetadata last_compositor_frame_metadata_; 107 cc::CompositorFrameMetadata last_compositor_frame_metadata_;
114 base::TimeTicks last_frame_time_; 108 base::TimeTicks last_frame_time_;
115 int capture_retry_count_; 109 int capture_retry_count_;
116 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_; 110 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_;
117 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler); 111 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler);
118 }; 112 };
119 113
120 } // namespace content 114 } // namespace content
121 115
122 #endif // CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ 116 #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