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 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, | 60 class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
61 public IPC::Listener { | 61 public IPC::Listener { |
62 public: | 62 public: |
63 ~RenderWidgetHostViewBase() override; | 63 ~RenderWidgetHostViewBase() override; |
64 | 64 |
65 // RenderWidgetHostView implementation. | 65 // RenderWidgetHostView implementation. |
66 void SetBackgroundColor(SkColor color) override; | 66 void SetBackgroundColor(SkColor color) override; |
67 void SetBackgroundColorToDefault() final; | 67 void SetBackgroundColorToDefault() final; |
68 bool GetBackgroundOpaque() override; | 68 bool GetBackgroundOpaque() override; |
69 ui::TextInputClient* GetTextInputClient() override; | 69 ui::TextInputClient* GetTextInputClient() override; |
| 70 RenderWidgetHostViewMus* AsMusView() override; |
70 void WasUnOccluded() override {} | 71 void WasUnOccluded() override {} |
71 void WasOccluded() override {} | 72 void WasOccluded() override {} |
72 bool IsShowingContextMenu() const override; | 73 bool IsShowingContextMenu() const override; |
73 void SetShowingContextMenu(bool showing_menu) override; | 74 void SetShowingContextMenu(bool showing_menu) override; |
74 base::string16 GetSelectedText() const override; | 75 base::string16 GetSelectedText() const override; |
75 bool IsMouseLocked() override; | 76 bool IsMouseLocked() override; |
76 gfx::Size GetVisibleViewportSize() const override; | 77 gfx::Size GetVisibleViewportSize() const override; |
77 void SetInsets(const gfx::Insets& insets) override; | 78 void SetInsets(const gfx::Insets& insets) override; |
78 void BeginFrameSubscription( | 79 void BeginFrameSubscription( |
79 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; | 80 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 base::OneShotTimer flush_input_timer_; | 425 base::OneShotTimer flush_input_timer_; |
425 | 426 |
426 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 427 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
427 | 428 |
428 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
429 }; | 430 }; |
430 | 431 |
431 } // namespace content | 432 } // namespace content |
432 | 433 |
433 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |