OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_RENDERER_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 bool HasFocus() const OVERRIDE; | 58 virtual bool HasFocus() const OVERRIDE; |
59 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 59 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
60 virtual void Show() OVERRIDE; | 60 virtual void Show() OVERRIDE; |
61 virtual void Hide() OVERRIDE; | 61 virtual void Hide() OVERRIDE; |
62 virtual bool IsShowing() OVERRIDE; | 62 virtual bool IsShowing() OVERRIDE; |
63 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 63 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
64 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 64 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
65 #if defined(OS_WIN) && !defined(USE_AURA) | 65 #if defined(OS_WIN) && !defined(USE_AURA) |
66 virtual void SetClickthroughRegion(SkRegion* region) OVERRIDE; | 66 virtual void SetClickthroughRegion(SkRegion* region) OVERRIDE; |
67 #endif | 67 #endif |
68 #if defined(OS_WIN) && defined(USE_AURA) | |
69 virtual gfx::NativeViewAccessible AccessibleObjectFromChildId(long child_id) | |
70 OVERRIDE; | |
71 #endif | |
72 | 68 |
73 // RenderWidgetHostViewPort implementation. | 69 // RenderWidgetHostViewPort implementation. |
74 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 70 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
75 const gfx::Rect& pos) OVERRIDE; | 71 const gfx::Rect& pos) OVERRIDE; |
76 virtual void InitAsFullscreen( | 72 virtual void InitAsFullscreen( |
77 RenderWidgetHostView* reference_host_view) OVERRIDE; | 73 RenderWidgetHostView* reference_host_view) OVERRIDE; |
78 virtual void WasShown() OVERRIDE; | 74 virtual void WasShown() OVERRIDE; |
79 virtual void WasHidden() OVERRIDE; | 75 virtual void WasHidden() OVERRIDE; |
80 virtual void MovePluginWindows( | 76 virtual void MovePluginWindows( |
81 const gfx::Vector2d& scroll_offset, | 77 const gfx::Vector2d& scroll_offset, |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 RenderWidgetHostViewPort* platform_view_; | 214 RenderWidgetHostViewPort* platform_view_; |
219 #if defined(OS_WIN) || defined(USE_AURA) | 215 #if defined(OS_WIN) || defined(USE_AURA) |
220 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 216 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
221 #endif // defined(OS_WIN) || defined(USE_AURA) | 217 #endif // defined(OS_WIN) || defined(USE_AURA) |
222 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 218 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
223 }; | 219 }; |
224 | 220 |
225 } // namespace content | 221 } // namespace content |
226 | 222 |
227 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 223 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |