| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 void SetBackgroundColor(SkColor color) override; | 91 void SetBackgroundColor(SkColor color) override; |
| 92 SkColor background_color() override; | 92 SkColor background_color() override; |
| 93 void SetBackgroundColorToDefault() final; | 93 void SetBackgroundColorToDefault() final; |
| 94 bool GetBackgroundOpaque() override; | 94 bool GetBackgroundOpaque() override; |
| 95 ui::TextInputClient* GetTextInputClient() override; | 95 ui::TextInputClient* GetTextInputClient() override; |
| 96 void WasUnOccluded() override {} | 96 void WasUnOccluded() override {} |
| 97 void WasOccluded() override {} | 97 void WasOccluded() override {} |
| 98 bool IsShowingContextMenu() const override; | 98 bool IsShowingContextMenu() const override; |
| 99 void SetShowingContextMenu(bool showing_menu) override; | 99 void SetShowingContextMenu(bool showing_menu) override; |
| 100 void SetIsInVR(bool is_in_vr) override; | 100 void SetIsInVR(bool is_in_vr) override; |
| 101 bool IsInVR() const override; |
| 101 base::string16 GetSelectedText() override; | 102 base::string16 GetSelectedText() override; |
| 102 bool IsMouseLocked() override; | 103 bool IsMouseLocked() override; |
| 103 gfx::Size GetVisibleViewportSize() const override; | 104 gfx::Size GetVisibleViewportSize() const override; |
| 104 void SetInsets(const gfx::Insets& insets) override; | 105 void SetInsets(const gfx::Insets& insets) override; |
| 105 void BeginFrameSubscription( | 106 void BeginFrameSubscription( |
| 106 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; | 107 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; |
| 107 void EndFrameSubscription() override; | 108 void EndFrameSubscription() override; |
| 108 void FocusedNodeTouched(const gfx::Point& location_dips_screen, | 109 void FocusedNodeTouched(const gfx::Point& location_dips_screen, |
| 109 bool editable) override; | 110 bool editable) override; |
| 110 | 111 |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; | 501 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; |
| 501 | 502 |
| 502 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 503 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
| 503 | 504 |
| 504 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 505 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 505 }; | 506 }; |
| 506 | 507 |
| 507 } // namespace content | 508 } // namespace content |
| 508 | 509 |
| 509 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |