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

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

Issue 441623004: [DevTools] Force page redraw when enabling screencast. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 scoped_refptr<DevToolsProtocol::Command> command); 102 scoped_refptr<DevToolsProtocol::Command> command);
103 scoped_refptr<DevToolsProtocol::Response> InputDispatchGestureEvent( 103 scoped_refptr<DevToolsProtocol::Response> InputDispatchGestureEvent(
104 scoped_refptr<DevToolsProtocol::Command> command); 104 scoped_refptr<DevToolsProtocol::Command> command);
105 scoped_refptr<DevToolsProtocol::Response> InputEmulateTouchFromMouseEvent( 105 scoped_refptr<DevToolsProtocol::Response> InputEmulateTouchFromMouseEvent(
106 scoped_refptr<DevToolsProtocol::Command> command); 106 scoped_refptr<DevToolsProtocol::Command> command);
107 bool DispatchMouseEventFromCommand( 107 bool DispatchMouseEventFromCommand(
108 scoped_refptr<DevToolsProtocol::Command> command); 108 scoped_refptr<DevToolsProtocol::Command> command);
109 109
110 DevToolsAgentHost* agent_; 110 DevToolsAgentHost* agent_;
111 scoped_refptr<DevToolsProtocol::Command> screencast_command_; 111 scoped_refptr<DevToolsProtocol::Command> screencast_command_;
112 bool has_last_compositor_frame_metadata_;
112 cc::CompositorFrameMetadata last_compositor_frame_metadata_; 113 cc::CompositorFrameMetadata last_compositor_frame_metadata_;
113 base::TimeTicks last_frame_time_; 114 base::TimeTicks last_frame_time_;
114 int capture_retry_count_; 115 int capture_retry_count_;
115 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_; 116 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_;
116 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler); 117 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler);
117 }; 118 };
118 119
119 } // namespace content 120 } // namespace content
120 121
121 #endif // CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ 122 #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