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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 virtual base::string16 GetSelectedText() const OVERRIDE; | 58 virtual base::string16 GetSelectedText() const OVERRIDE; |
59 | 59 |
60 // RenderWidgetHostViewPort implementation. | 60 // RenderWidgetHostViewPort implementation. |
61 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 61 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
62 const gfx::Rect& pos) OVERRIDE; | 62 const gfx::Rect& pos) OVERRIDE; |
63 virtual void InitAsFullscreen( | 63 virtual void InitAsFullscreen( |
64 RenderWidgetHostView* reference_host_view) OVERRIDE; | 64 RenderWidgetHostView* reference_host_view) OVERRIDE; |
65 virtual void WasShown() OVERRIDE; | 65 virtual void WasShown() OVERRIDE; |
66 virtual void WasHidden() OVERRIDE; | 66 virtual void WasHidden() OVERRIDE; |
67 virtual void MovePluginWindows( | 67 virtual void MovePluginWindows( |
68 const gfx::Vector2d& scroll_offset, | |
69 const std::vector<WebPluginGeometry>& moves) OVERRIDE; | 68 const std::vector<WebPluginGeometry>& moves) OVERRIDE; |
70 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 69 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
71 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 70 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
72 virtual void TextInputTypeChanged(ui::TextInputType type, | 71 virtual void TextInputTypeChanged(ui::TextInputType type, |
73 ui::TextInputMode input_mode, | 72 ui::TextInputMode input_mode, |
74 bool can_compose_inline) OVERRIDE; | 73 bool can_compose_inline) OVERRIDE; |
75 virtual void ImeCancelComposition() OVERRIDE; | 74 virtual void ImeCancelComposition() OVERRIDE; |
76 #if defined(OS_MACOSX) || defined(USE_AURA) | 75 #if defined(OS_MACOSX) || defined(USE_AURA) |
77 virtual void ImeCompositionRangeChanged( | 76 virtual void ImeCompositionRangeChanged( |
78 const gfx::Range& range, | 77 const gfx::Range& range, |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 RenderWidgetHostViewPort* platform_view_; | 180 RenderWidgetHostViewPort* platform_view_; |
182 #if defined(USE_AURA) | 181 #if defined(USE_AURA) |
183 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 182 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
184 #endif | 183 #endif |
185 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 184 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
186 }; | 185 }; |
187 | 186 |
188 } // namespace content | 187 } // namespace content |
189 | 188 |
190 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 189 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |