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_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_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 gfx::NativeView context) OVERRIDE; | 58 gfx::NativeView context) OVERRIDE; |
59 virtual RenderWidgetHostViewBase* CreateViewForWidget( | 59 virtual RenderWidgetHostViewBase* CreateViewForWidget( |
60 RenderWidgetHost* render_widget_host) OVERRIDE; | 60 RenderWidgetHost* render_widget_host) OVERRIDE; |
61 virtual RenderWidgetHostViewBase* CreateViewForPopupWidget( | 61 virtual RenderWidgetHostViewBase* CreateViewForPopupWidget( |
62 RenderWidgetHost* render_widget_host) OVERRIDE; | 62 RenderWidgetHost* render_widget_host) OVERRIDE; |
63 virtual void SetPageTitle(const base::string16& title) OVERRIDE; | 63 virtual void SetPageTitle(const base::string16& title) OVERRIDE; |
64 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 64 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
65 virtual void RenderViewSwappedIn(RenderViewHost* host) OVERRIDE; | 65 virtual void RenderViewSwappedIn(RenderViewHost* host) OVERRIDE; |
66 virtual void SetOverscrollControllerEnabled(bool enabled) OVERRIDE; | 66 virtual void SetOverscrollControllerEnabled(bool enabled) OVERRIDE; |
67 #if defined(OS_MACOSX) | 67 #if defined(OS_MACOSX) |
68 virtual void SetAllowOverlappingViews(bool overlapping) OVERRIDE; | |
69 virtual bool GetAllowOverlappingViews() const OVERRIDE; | |
70 virtual void SetAllowOtherViews(bool allow) OVERRIDE; | 68 virtual void SetAllowOtherViews(bool allow) OVERRIDE; |
71 virtual bool GetAllowOtherViews() const OVERRIDE; | 69 virtual bool GetAllowOtherViews() const OVERRIDE; |
72 virtual bool IsEventTracking() const OVERRIDE; | 70 virtual bool IsEventTracking() const OVERRIDE; |
73 virtual void CloseTabAfterEventTracking() OVERRIDE; | 71 virtual void CloseTabAfterEventTracking() OVERRIDE; |
74 #endif | 72 #endif |
75 | 73 |
76 // Backend implementation of RenderViewHostDelegateView. | 74 // Backend implementation of RenderViewHostDelegateView. |
77 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, | 75 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, |
78 const ContextMenuParams& params) OVERRIDE; | 76 const ContextMenuParams& params) OVERRIDE; |
79 virtual void StartDragging(const DropData& drop_data, | 77 virtual void StartDragging(const DropData& drop_data, |
(...skipping 16 matching lines...) Expand all Loading... |
96 | 94 |
97 // Delegate view for guest's platform view. | 95 // Delegate view for guest's platform view. |
98 RenderViewHostDelegateView* platform_view_delegate_view_; | 96 RenderViewHostDelegateView* platform_view_delegate_view_; |
99 | 97 |
100 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); | 98 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); |
101 }; | 99 }; |
102 | 100 |
103 } // namespace content | 101 } // namespace content |
104 | 102 |
105 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 103 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
OLD | NEW |