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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 void SetBounds(const gfx::Rect& rect) override; | 61 void SetBounds(const gfx::Rect& rect) override; |
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() const override; | |
72 | 71 |
73 // RenderWidgetHostViewBase implementation. | 72 // RenderWidgetHostViewBase implementation. |
74 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 73 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
75 const gfx::Rect& bounds) override; | 74 const gfx::Rect& bounds) override; |
76 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 75 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
77 void UpdateCursor(const WebCursor& cursor) override; | 76 void UpdateCursor(const WebCursor& cursor) override; |
78 void SetIsLoading(bool is_loading) override; | 77 void SetIsLoading(bool is_loading) override; |
79 void TextInputStateChanged(const TextInputState& params) override; | 78 void TextInputStateChanged(const TextInputState& params) override; |
80 void ImeCancelComposition() override; | 79 void ImeCancelComposition() override; |
81 #if defined(OS_MACOSX) || defined(USE_AURA) | 80 #if defined(OS_MACOSX) || defined(USE_AURA) |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // The platform view for this RenderWidgetHostView. | 140 // The platform view for this RenderWidgetHostView. |
142 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 141 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
143 // compositing, the rest are directly forwarded to this |platform_view_|. | 142 // compositing, the rest are directly forwarded to this |platform_view_|. |
144 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 143 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
145 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 144 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
146 }; | 145 }; |
147 | 146 |
148 } // namespace content | 147 } // namespace content |
149 | 148 |
150 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 149 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |