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_VIEW_BASE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
7 | 7 |
8 #if defined(OS_MACOSX) | 8 #if defined(OS_MACOSX) |
9 #include <OpenGL/OpenGL.h> | 9 #include <OpenGL/OpenGL.h> |
10 #endif | 10 #endif |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 virtual ~RenderWidgetHostViewBase(); | 45 virtual ~RenderWidgetHostViewBase(); |
46 | 46 |
47 // RenderWidgetHostViewPort implementation. | 47 // RenderWidgetHostViewPort implementation. |
48 virtual void SelectionChanged(const string16& text, | 48 virtual void SelectionChanged(const string16& text, |
49 size_t offset, | 49 size_t offset, |
50 const ui::Range& range) OVERRIDE; | 50 const ui::Range& range) OVERRIDE; |
51 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 51 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
52 virtual const SkBitmap& GetBackground() OVERRIDE; | 52 virtual const SkBitmap& GetBackground() OVERRIDE; |
53 virtual bool IsShowingContextMenu() const OVERRIDE; | 53 virtual bool IsShowingContextMenu() const OVERRIDE; |
54 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; | 54 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; |
| 55 virtual string16 GetSelectedText() const OVERRIDE; |
55 virtual bool IsMouseLocked() OVERRIDE; | 56 virtual bool IsMouseLocked() OVERRIDE; |
56 virtual void UnhandledWheelEvent( | 57 virtual void UnhandledWheelEvent( |
57 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 58 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
58 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; | 59 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; |
59 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; | 60 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; |
60 virtual BrowserAccessibilityManager* | 61 virtual BrowserAccessibilityManager* |
61 GetBrowserAccessibilityManager() const OVERRIDE; | 62 GetBrowserAccessibilityManager() const OVERRIDE; |
62 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, | 63 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, |
63 InputEventAckState ack_result) OVERRIDE; | 64 InputEventAckState ack_result) OVERRIDE; |
64 virtual SmoothScrollGesture* CreateSmoothScrollGesture( | 65 virtual SmoothScrollGesture* CreateSmoothScrollGesture( |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 130 |
130 gfx::Rect current_display_area_; | 131 gfx::Rect current_display_area_; |
131 float current_device_scale_factor_; | 132 float current_device_scale_factor_; |
132 | 133 |
133 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 134 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
134 }; | 135 }; |
135 | 136 |
136 } // namespace content | 137 } // namespace content |
137 | 138 |
138 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 139 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |