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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 // RenderWidgetHostViewPort implementation. | 48 // RenderWidgetHostViewPort implementation. |
49 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 49 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
50 virtual void SelectionChanged(const base::string16& text, | 50 virtual void SelectionChanged(const base::string16& text, |
51 size_t offset, | 51 size_t offset, |
52 const gfx::Range& range) OVERRIDE; | 52 const gfx::Range& range) OVERRIDE; |
53 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 53 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
54 virtual const SkBitmap& GetBackground() OVERRIDE; | 54 virtual const SkBitmap& GetBackground() OVERRIDE; |
55 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; | 55 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; |
56 virtual float GetOverdrawBottomHeight() const OVERRIDE; | 56 virtual float GetOverdrawBottomHeight() const OVERRIDE; |
| 57 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE; |
57 virtual bool IsShowingContextMenu() const OVERRIDE; | 58 virtual bool IsShowingContextMenu() const OVERRIDE; |
58 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; | 59 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; |
59 virtual base::string16 GetSelectedText() const OVERRIDE; | 60 virtual base::string16 GetSelectedText() const OVERRIDE; |
60 virtual bool IsMouseLocked() OVERRIDE; | 61 virtual bool IsMouseLocked() OVERRIDE; |
61 virtual void UnhandledWheelEvent( | 62 virtual void UnhandledWheelEvent( |
62 const blink::WebMouseWheelEvent& event) OVERRIDE; | 63 const blink::WebMouseWheelEvent& event) OVERRIDE; |
63 virtual InputEventAckState FilterInputEvent( | 64 virtual InputEventAckState FilterInputEvent( |
64 const blink::WebInputEvent& input_event) OVERRIDE; | 65 const blink::WebInputEvent& input_event) OVERRIDE; |
65 virtual void OnSetNeedsFlushInput() OVERRIDE; | 66 virtual void OnSetNeedsFlushInput() OVERRIDE; |
66 virtual void OnDidFlushInput() OVERRIDE; | 67 virtual void OnDidFlushInput() OVERRIDE; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 uint32 renderer_frame_number_; | 176 uint32 renderer_frame_number_; |
176 | 177 |
177 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 178 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
178 | 179 |
179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 180 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
180 }; | 181 }; |
181 | 182 |
182 } // namespace content | 183 } // namespace content |
183 | 184 |
184 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 185 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |