OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 void Focus() override; | 62 void Focus() override; |
63 bool HasFocus() const override; | 63 bool HasFocus() const override; |
64 void Show() override; | 64 void Show() override; |
65 void Hide() override; | 65 void Hide() override; |
66 gfx::NativeView GetNativeView() const override; | 66 gfx::NativeView GetNativeView() const override; |
67 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 67 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
68 gfx::Rect GetViewBounds() const override; | 68 gfx::Rect GetViewBounds() const override; |
69 gfx::Rect GetBoundsInRootWindow() override; | 69 gfx::Rect GetBoundsInRootWindow() override; |
70 gfx::Size GetPhysicalBackingSize() const override; | 70 gfx::Size GetPhysicalBackingSize() const override; |
71 base::string16 GetSelectedText() override; | 71 base::string16 GetSelectedText() override; |
| 72 void SetNeedsBeginFrames(bool needs_begin_frames) override; |
72 | 73 |
73 // RenderWidgetHostViewBase implementation. | 74 // RenderWidgetHostViewBase implementation. |
74 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 75 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
75 const gfx::Rect& bounds) override; | 76 const gfx::Rect& bounds) override; |
76 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 77 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
77 void UpdateCursor(const WebCursor& cursor) override; | 78 void UpdateCursor(const WebCursor& cursor) override; |
78 void SetIsLoading(bool is_loading) override; | 79 void SetIsLoading(bool is_loading) override; |
79 void TextInputStateChanged(const TextInputState& params) override; | 80 void TextInputStateChanged(const TextInputState& params) override; |
80 void ImeCancelComposition() override; | 81 void ImeCancelComposition() override; |
81 #if defined(OS_MACOSX) || defined(USE_AURA) | 82 #if defined(OS_MACOSX) || defined(USE_AURA) |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // The platform view for this RenderWidgetHostView. | 153 // The platform view for this RenderWidgetHostView. |
153 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 154 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
154 // compositing, the rest are directly forwarded to this |platform_view_|. | 155 // compositing, the rest are directly forwarded to this |platform_view_|. |
155 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 156 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
156 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 157 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
157 }; | 158 }; |
158 | 159 |
159 } // namespace content | 160 } // namespace content |
160 | 161 |
161 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 162 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |