| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 class BrowserAccessibilityDelegate; | 53 class BrowserAccessibilityDelegate; |
| 54 class BrowserAccessibilityManager; | 54 class BrowserAccessibilityManager; |
| 55 class SyntheticGesture; | 55 class SyntheticGesture; |
| 56 class SyntheticGestureTarget; | 56 class SyntheticGestureTarget; |
| 57 class WebCursor; | 57 class WebCursor; |
| 58 struct DidOverscrollParams; | 58 struct DidOverscrollParams; |
| 59 struct NativeWebKeyboardEvent; | 59 struct NativeWebKeyboardEvent; |
| 60 struct WebPluginGeometry; | 60 struct WebPluginGeometry; |
| 61 | 61 |
| 62 // Basic implementation shared by concrete RenderWidgetHostView subclasses. | 62 // Basic implementation shared by concrete RenderWidgetHostView subclasses. |
| 63 class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, | 63 class CONTENT_EXPORT RenderWidgetHostViewBase |
| 64 public IPC::Listener { | 64 : public RenderWidgetHostView, |
| 65 public IPC::Listener { |
| 65 public: | 66 public: |
| 66 virtual ~RenderWidgetHostViewBase(); | 67 virtual ~RenderWidgetHostViewBase(); |
| 67 | 68 |
| 68 // RenderWidgetHostView implementation. | 69 // RenderWidgetHostView implementation. |
| 69 virtual void SetBackgroundOpaque(bool opaque) OVERRIDE; | 70 virtual void SetBackgroundOpaque(bool opaque) OVERRIDE; |
| 70 virtual bool GetBackgroundOpaque() OVERRIDE; | 71 virtual bool GetBackgroundOpaque() OVERRIDE; |
| 71 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE; | 72 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE; |
| 72 virtual bool IsShowingContextMenu() const OVERRIDE; | 73 virtual bool IsShowingContextMenu() const OVERRIDE; |
| 73 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; | 74 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; |
| 74 virtual base::string16 GetSelectedText() const OVERRIDE; | 75 virtual base::string16 GetSelectedText() const OVERRIDE; |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 uint32 renderer_frame_number_; | 428 uint32 renderer_frame_number_; |
| 428 | 429 |
| 429 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 430 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
| 430 | 431 |
| 431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 432 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 432 }; | 433 }; |
| 433 | 434 |
| 434 } // namespace content | 435 } // namespace content |
| 435 | 436 |
| 436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |