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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 gfx::NativeView GetNativeView() const override; | 60 gfx::NativeView GetNativeView() const override; |
61 gfx::NativeViewId GetNativeViewId() const override; | 61 gfx::NativeViewId GetNativeViewId() const override; |
62 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 62 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
63 gfx::Rect GetViewBounds() const override; | 63 gfx::Rect GetViewBounds() const override; |
64 void SetBackgroundColor(SkColor color) override; | 64 void SetBackgroundColor(SkColor color) override; |
65 gfx::Size GetPhysicalBackingSize() const override; | 65 gfx::Size GetPhysicalBackingSize() const override; |
66 base::string16 GetSelectedText() const override; | 66 base::string16 GetSelectedText() const override; |
67 | 67 |
68 // RenderWidgetHostViewBase implementation. | 68 // RenderWidgetHostViewBase implementation. |
69 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 69 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
70 const gfx::Rect& pos) override; | 70 const gfx::Rect& bounds) override; |
71 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 71 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
72 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | 72 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; |
73 void UpdateCursor(const WebCursor& cursor) override; | 73 void UpdateCursor(const WebCursor& cursor) override; |
74 void SetIsLoading(bool is_loading) override; | 74 void SetIsLoading(bool is_loading) override; |
75 void TextInputTypeChanged(ui::TextInputType type, | 75 void TextInputTypeChanged(ui::TextInputType type, |
76 ui::TextInputMode input_mode, | 76 ui::TextInputMode input_mode, |
77 bool can_compose_inline, | 77 bool can_compose_inline, |
78 int flags) override; | 78 int flags) override; |
79 void ImeCancelComposition() override; | 79 void ImeCancelComposition() override; |
80 #if defined(OS_MACOSX) || defined(USE_AURA) | 80 #if defined(OS_MACOSX) || defined(USE_AURA) |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 171 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
172 #if defined(USE_AURA) | 172 #if defined(USE_AURA) |
173 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 173 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
174 #endif | 174 #endif |
175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
176 }; | 176 }; |
177 | 177 |
178 } // namespace content | 178 } // namespace content |
179 | 179 |
180 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 180 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |