| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <vector> |
| 9 |
| 8 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 9 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 10 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 11 #include "third_party/WebKit/public/platform/WebDisplayMode.h" | 13 #include "third_party/WebKit/public/platform/WebDisplayMode.h" |
| 12 #include "third_party/WebKit/public/web/WebInputEvent.h" | 14 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 13 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
| 14 | 16 |
| 15 namespace blink { | 17 namespace blink { |
| 16 class WebMouseWheelEvent; | 18 class WebMouseWheelEvent; |
| 17 class WebGestureEvent; | 19 class WebGestureEvent; |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 // Notification that the widget has lost capture. | 158 // Notification that the widget has lost capture. |
| 157 virtual void LostCapture(RenderWidgetHostImpl* render_widget_host) {} | 159 virtual void LostCapture(RenderWidgetHostImpl* render_widget_host) {} |
| 158 | 160 |
| 159 // Notification that the widget has lost the mouse lock. | 161 // Notification that the widget has lost the mouse lock. |
| 160 virtual void LostMouseLock(RenderWidgetHostImpl* render_widget_host) {} | 162 virtual void LostMouseLock(RenderWidgetHostImpl* render_widget_host) {} |
| 161 | 163 |
| 162 #if defined(OS_WIN) | 164 #if defined(OS_WIN) |
| 163 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); | 165 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
| 164 #endif | 166 #endif |
| 165 | 167 |
| 168 // Called when the widget has sent a compositor proto. This is used in Blimp |
| 169 // mode with the RemoteChannel compositor. |
| 170 virtual void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, |
| 171 const std::vector<uint8_t>& proto) {} |
| 172 |
| 166 protected: | 173 protected: |
| 167 virtual ~RenderWidgetHostDelegate() {} | 174 virtual ~RenderWidgetHostDelegate() {} |
| 168 }; | 175 }; |
| 169 | 176 |
| 170 } // namespace content | 177 } // namespace content |
| 171 | 178 |
| 172 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 179 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| OLD | NEW |