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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 // RenderWidgetHostView implementation. | 86 // RenderWidgetHostView implementation. |
87 void SetBackgroundColor(SkColor color) override; | 87 void SetBackgroundColor(SkColor color) override; |
88 void SetBackgroundColorToDefault() final; | 88 void SetBackgroundColorToDefault() final; |
89 bool GetBackgroundOpaque() override; | 89 bool GetBackgroundOpaque() override; |
90 ui::TextInputClient* GetTextInputClient() override; | 90 ui::TextInputClient* GetTextInputClient() override; |
91 void WasUnOccluded() override {} | 91 void WasUnOccluded() override {} |
92 void WasOccluded() override {} | 92 void WasOccluded() override {} |
93 bool IsShowingContextMenu() const override; | 93 bool IsShowingContextMenu() const override; |
94 void SetShowingContextMenu(bool showing_menu) override; | 94 void SetShowingContextMenu(bool showing_menu) override; |
95 base::string16 GetSelectedText() const override; | 95 base::string16 GetSelectedText() override; |
96 bool IsMouseLocked() override; | 96 bool IsMouseLocked() override; |
97 gfx::Size GetVisibleViewportSize() const override; | 97 gfx::Size GetVisibleViewportSize() const override; |
98 void SetInsets(const gfx::Insets& insets) override; | 98 void SetInsets(const gfx::Insets& insets) override; |
99 void BeginFrameSubscription( | 99 void BeginFrameSubscription( |
100 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; | 100 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; |
101 void EndFrameSubscription() override; | 101 void EndFrameSubscription() override; |
102 void FocusedNodeTouched(const gfx::Point& location_dips_screen, | 102 void FocusedNodeTouched(const gfx::Point& location_dips_screen, |
103 bool editable) override; | 103 bool editable) override; |
104 | 104 |
105 // This only needs to be overridden by RenderWidgetHostViewBase subclasses | 105 // This only needs to be overridden by RenderWidgetHostViewBase subclasses |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; | 469 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; |
470 | 470 |
471 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 471 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
472 | 472 |
473 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 473 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
474 }; | 474 }; |
475 | 475 |
476 } // namespace content | 476 } // namespace content |
477 | 477 |
478 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 478 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |