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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 52 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
53 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; | 53 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; |
54 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 54 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
55 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 55 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
56 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 56 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
57 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 57 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
58 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 58 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
59 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 59 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
60 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 60 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
61 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; | 61 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; |
| 62 virtual base::string16 GetSelectedText() const OVERRIDE; |
62 | 63 |
63 // RenderWidgetHostViewPort implementation. | 64 // RenderWidgetHostViewPort implementation. |
64 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 65 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
65 const gfx::Rect& pos) OVERRIDE; | 66 const gfx::Rect& pos) OVERRIDE; |
66 virtual void InitAsFullscreen( | 67 virtual void InitAsFullscreen( |
67 RenderWidgetHostView* reference_host_view) OVERRIDE; | 68 RenderWidgetHostView* reference_host_view) OVERRIDE; |
68 virtual void WasShown() OVERRIDE; | 69 virtual void WasShown() OVERRIDE; |
69 virtual void WasHidden() OVERRIDE; | 70 virtual void WasHidden() OVERRIDE; |
70 virtual void MovePluginWindows( | 71 virtual void MovePluginWindows( |
71 const gfx::Vector2d& scroll_offset, | 72 const gfx::Vector2d& scroll_offset, |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 RenderWidgetHostViewPort* platform_view_; | 183 RenderWidgetHostViewPort* platform_view_; |
183 #if defined(OS_WIN) || defined(USE_AURA) | 184 #if defined(OS_WIN) || defined(USE_AURA) |
184 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 185 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
185 #endif // defined(OS_WIN) || defined(USE_AURA) | 186 #endif // defined(OS_WIN) || defined(USE_AURA) |
186 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 187 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
187 }; | 188 }; |
188 | 189 |
189 } // namespace content | 190 } // namespace content |
190 | 191 |
191 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 192 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |