| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |