| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, | 61 class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
| 62 public IPC::Listener { | 62 public IPC::Listener { |
| 63 public: | 63 public: |
| 64 ~RenderWidgetHostViewBase() override; | 64 ~RenderWidgetHostViewBase() override; |
| 65 | 65 |
| 66 // RenderWidgetHostView implementation. | 66 // RenderWidgetHostView implementation. |
| 67 void SetBackgroundColor(SkColor color) override; | 67 void SetBackgroundColor(SkColor color) override; |
| 68 void SetBackgroundColorToDefault() final; | 68 void SetBackgroundColorToDefault() final; |
| 69 bool GetBackgroundOpaque() override; | 69 bool GetBackgroundOpaque() override; |
| 70 ui::TextInputClient* GetTextInputClient() override; | 70 ui::TextInputClient* GetTextInputClient() override; |
| 71 void WasUnOccluded() override {} |
| 72 void WasOccluded() override {} |
| 71 bool IsShowingContextMenu() const override; | 73 bool IsShowingContextMenu() const override; |
| 72 void SetShowingContextMenu(bool showing_menu) override; | 74 void SetShowingContextMenu(bool showing_menu) override; |
| 73 base::string16 GetSelectedText() const override; | 75 base::string16 GetSelectedText() const override; |
| 74 bool IsMouseLocked() override; | 76 bool IsMouseLocked() override; |
| 75 gfx::Size GetVisibleViewportSize() const override; | 77 gfx::Size GetVisibleViewportSize() const override; |
| 76 void SetInsets(const gfx::Insets& insets) override; | 78 void SetInsets(const gfx::Insets& insets) override; |
| 77 void BeginFrameSubscription( | 79 void BeginFrameSubscription( |
| 78 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; | 80 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; |
| 79 void EndFrameSubscription() override; | 81 void EndFrameSubscription() override; |
| 80 | 82 |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 419 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
| 418 | 420 |
| 419 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 421 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
| 420 | 422 |
| 421 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 423 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 422 }; | 424 }; |
| 423 | 425 |
| 424 } // namespace content | 426 } // namespace content |
| 425 | 427 |
| 426 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 428 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |