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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 gfx::Size GetPhysicalBackingSize() const override; | 71 gfx::Size GetPhysicalBackingSize() const override; |
72 base::string16 GetSelectedText() const override; | 72 base::string16 GetSelectedText() const override; |
73 | 73 |
74 // RenderWidgetHostViewBase implementation. | 74 // RenderWidgetHostViewBase implementation. |
75 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 75 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
76 const gfx::Rect& bounds) override; | 76 const gfx::Rect& bounds) override; |
77 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 77 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
78 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | 78 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; |
79 void UpdateCursor(const WebCursor& cursor) override; | 79 void UpdateCursor(const WebCursor& cursor) override; |
80 void SetIsLoading(bool is_loading) override; | 80 void SetIsLoading(bool is_loading) override; |
81 void TextInputStateChanged( | 81 void NotifyTextInputStateChanged() override; |
82 const ViewHostMsg_TextInputState_Params& params) override; | |
83 void ImeCancelComposition() override; | 82 void ImeCancelComposition() override; |
84 #if defined(OS_MACOSX) || defined(USE_AURA) | 83 #if defined(OS_MACOSX) || defined(USE_AURA) |
85 void ImeCompositionRangeChanged( | 84 void ImeCompositionRangeChanged( |
86 const gfx::Range& range, | 85 const gfx::Range& range, |
87 const std::vector<gfx::Rect>& character_bounds) override; | 86 const std::vector<gfx::Rect>& character_bounds) override; |
88 #endif | 87 #endif |
89 void RenderProcessGone(base::TerminationStatus status, | 88 void RenderProcessGone(base::TerminationStatus status, |
90 int error_code) override; | 89 int error_code) override; |
91 void Destroy() override; | 90 void Destroy() override; |
92 void SetTooltipText(const base::string16& tooltip_text) override; | 91 void SetTooltipText(const base::string16& tooltip_text) override; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 // The platform view for this RenderWidgetHostView. | 174 // The platform view for this RenderWidgetHostView. |
176 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 175 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
177 // compositing, the rest are directly forwared to this |platform_view_|. | 176 // compositing, the rest are directly forwared to this |platform_view_|. |
178 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 177 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 178 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
180 }; | 179 }; |
181 | 180 |
182 } // namespace content | 181 } // namespace content |
183 | 182 |
184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |