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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 69 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
70 gfx::Rect GetViewBounds() const override; | 70 gfx::Rect GetViewBounds() const override; |
71 gfx::Rect GetBoundsInRootWindow() override; | 71 gfx::Rect GetBoundsInRootWindow() override; |
72 gfx::Size GetPhysicalBackingSize() const override; | 72 gfx::Size GetPhysicalBackingSize() const override; |
73 base::string16 GetSelectedText() const override; | 73 base::string16 GetSelectedText() const override; |
74 | 74 |
75 // RenderWidgetHostViewBase implementation. | 75 // RenderWidgetHostViewBase implementation. |
76 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 76 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
77 const gfx::Rect& bounds) override; | 77 const gfx::Rect& bounds) override; |
78 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 78 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
79 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | |
80 void UpdateCursor(const WebCursor& cursor) override; | 79 void UpdateCursor(const WebCursor& cursor) override; |
81 void SetIsLoading(bool is_loading) override; | 80 void SetIsLoading(bool is_loading) override; |
82 void TextInputStateChanged( | 81 void TextInputStateChanged( |
83 const ViewHostMsg_TextInputState_Params& params) override; | 82 const ViewHostMsg_TextInputState_Params& params) override; |
84 void ImeCancelComposition() override; | 83 void ImeCancelComposition() override; |
85 #if defined(OS_MACOSX) || defined(USE_AURA) | 84 #if defined(OS_MACOSX) || defined(USE_AURA) |
86 void ImeCompositionRangeChanged( | 85 void ImeCompositionRangeChanged( |
87 const gfx::Range& range, | 86 const gfx::Range& range, |
88 const std::vector<gfx::Rect>& character_bounds) override; | 87 const std::vector<gfx::Rect>& character_bounds) override; |
89 #endif | 88 #endif |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 // The platform view for this RenderWidgetHostView. | 166 // The platform view for this RenderWidgetHostView. |
168 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 167 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
169 // compositing, the rest are directly forwared to this |platform_view_|. | 168 // compositing, the rest are directly forwared to this |platform_view_|. |
170 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 169 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
171 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 170 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
172 }; | 171 }; |
173 | 172 |
174 } // namespace content | 173 } // namespace content |
175 | 174 |
176 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 175 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |