| 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 28 matching lines...) Expand all Loading... |
| 39 : public DevToolsProtocol::Handler { | 39 : public DevToolsProtocol::Handler { |
| 40 public: | 40 public: |
| 41 RendererOverridesHandler(); | 41 RendererOverridesHandler(); |
| 42 virtual ~RendererOverridesHandler(); | 42 virtual ~RendererOverridesHandler(); |
| 43 | 43 |
| 44 void OnClientDetached(); | 44 void OnClientDetached(); |
| 45 void OnSwapCompositorFrame(const cc::CompositorFrameMetadata& frame_metadata); | 45 void OnSwapCompositorFrame(const cc::CompositorFrameMetadata& frame_metadata); |
| 46 void OnVisibilityChanged(bool visible); | 46 void OnVisibilityChanged(bool visible); |
| 47 void SetRenderViewHost(RenderViewHostImpl* host); | 47 void SetRenderViewHost(RenderViewHostImpl* host); |
| 48 void ClearRenderViewHost(); | 48 void ClearRenderViewHost(); |
| 49 void DidAttachInterstitialPage(); |
| 50 void DidDetachInterstitialPage(); |
| 49 | 51 |
| 50 private: | 52 private: |
| 51 void InnerSwapCompositorFrame(); | 53 void InnerSwapCompositorFrame(); |
| 52 | 54 |
| 53 // DOM domain. | 55 // DOM domain. |
| 54 scoped_refptr<DevToolsProtocol::Response> | 56 scoped_refptr<DevToolsProtocol::Response> |
| 55 GrantPermissionsForSetFileInputFiles( | 57 GrantPermissionsForSetFileInputFiles( |
| 56 scoped_refptr<DevToolsProtocol::Command> command); | 58 scoped_refptr<DevToolsProtocol::Command> command); |
| 57 | 59 |
| 58 // Network domain. | 60 // Network domain. |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 int last_cursor_x_; | 135 int last_cursor_x_; |
| 134 int last_cursor_y_; | 136 int last_cursor_y_; |
| 135 RenderWidgetHost::MouseEventCallback mouse_event_callback_; | 137 RenderWidgetHost::MouseEventCallback mouse_event_callback_; |
| 136 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_; | 138 base::WeakPtrFactory<RendererOverridesHandler> weak_factory_; |
| 137 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler); | 139 DISALLOW_COPY_AND_ASSIGN(RendererOverridesHandler); |
| 138 }; | 140 }; |
| 139 | 141 |
| 140 } // namespace content | 142 } // namespace content |
| 141 | 143 |
| 142 #endif // CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ | 144 #endif // CONTENT_BROWSER_DEVTOOLS_RENDERER_OVERRIDES_HANDLER_H_ |
| OLD | NEW |