OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 virtual void SetScrollOffsetPinning( | 112 virtual void SetScrollOffsetPinning( |
113 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 113 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
114 #if defined(TOOLKIT_USES_GTK) | 114 #if defined(TOOLKIT_USES_GTK) |
115 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; | 115 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; |
116 #endif | 116 #endif |
117 #if defined(OS_WIN) | 117 #if defined(OS_WIN) |
118 virtual void WillWmDestroy() OVERRIDE; | 118 virtual void WillWmDestroy() OVERRIDE; |
119 virtual void ShowCompositorHostWindow(bool show) OVERRIDE; | 119 virtual void ShowCompositorHostWindow(bool show) OVERRIDE; |
120 #endif | 120 #endif |
121 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; | 121 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; |
| 122 virtual bool LockMouse() OVERRIDE; |
| 123 virtual void UnlockMouse() OVERRIDE; |
122 | 124 |
123 // Overridden from views::TouchSelectionClientView. | 125 // Overridden from views::TouchSelectionClientView. |
124 virtual void SelectRect(const gfx::Point& start, | 126 virtual void SelectRect(const gfx::Point& start, |
125 const gfx::Point& end) OVERRIDE; | 127 const gfx::Point& end) OVERRIDE; |
126 | 128 |
127 // Overriden from NotificationObserver | 129 // Overriden from NotificationObserver |
128 virtual void Observe(int type, | 130 virtual void Observe(int type, |
129 const NotificationSource& source, | 131 const NotificationSource& source, |
130 const NotificationDetails& details) OVERRIDE; | 132 const NotificationDetails& details) OVERRIDE; |
131 | 133 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 NotificationRegistrar registrar_; | 307 NotificationRegistrar registrar_; |
306 gfx::Rect keyboard_rect_; | 308 gfx::Rect keyboard_rect_; |
307 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerTouch> > | 309 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerTouch> > |
308 accelerated_surface_containers_; | 310 accelerated_surface_containers_; |
309 #endif | 311 #endif |
310 | 312 |
311 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); | 313 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); |
312 }; | 314 }; |
313 | 315 |
314 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 316 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
OLD | NEW |