| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 RenderWidgetHost* GetRenderWidgetHost() const override; | 90 RenderWidgetHost* GetRenderWidgetHost() const override; |
| 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 SetShowingOverscrollGlow(bool showing_glow) override; |
| 100 base::string16 GetSelectedText() override; | 101 base::string16 GetSelectedText() override; |
| 101 bool IsMouseLocked() override; | 102 bool IsMouseLocked() override; |
| 102 gfx::Size GetVisibleViewportSize() const override; | 103 gfx::Size GetVisibleViewportSize() const override; |
| 103 void SetInsets(const gfx::Insets& insets) override; | 104 void SetInsets(const gfx::Insets& insets) override; |
| 104 void BeginFrameSubscription( | 105 void BeginFrameSubscription( |
| 105 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; | 106 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; |
| 106 void EndFrameSubscription() override; | 107 void EndFrameSubscription() override; |
| 107 void FocusedNodeTouched(const gfx::Point& location_dips_screen, | 108 void FocusedNodeTouched(const gfx::Point& location_dips_screen, |
| 108 bool editable) override; | 109 bool editable) override; |
| 109 | 110 |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; | 500 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; |
| 500 | 501 |
| 501 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 502 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
| 502 | 503 |
| 503 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 504 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 504 }; | 505 }; |
| 505 | 506 |
| 506 } // namespace content | 507 } // namespace content |
| 507 | 508 |
| 508 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 509 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |