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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; | 68 virtual void SetAllowOverlappingViews(bool overlapping) OVERRIDE; |
69 virtual bool GetAllowOverlappingViews() const OVERRIDE; | 69 virtual bool GetAllowOverlappingViews() const OVERRIDE; |
70 virtual void SetOverlayView(WebContentsView* overlay, | 70 virtual void SetAllowOtherViews(bool allow) OVERRIDE; |
71 const gfx::Point& offset) OVERRIDE; | 71 virtual bool GetAllowOtherViews() const OVERRIDE; |
72 virtual void RemoveOverlayView() OVERRIDE; | |
73 virtual bool IsEventTracking() const OVERRIDE; | 72 virtual bool IsEventTracking() const OVERRIDE; |
74 virtual void CloseTabAfterEventTracking() OVERRIDE; | 73 virtual void CloseTabAfterEventTracking() OVERRIDE; |
75 #endif | 74 #endif |
76 | 75 |
77 // Backend implementation of RenderViewHostDelegateView. | 76 // Backend implementation of RenderViewHostDelegateView. |
78 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, | 77 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, |
79 const ContextMenuParams& params) OVERRIDE; | 78 const ContextMenuParams& params) OVERRIDE; |
80 virtual void StartDragging(const DropData& drop_data, | 79 virtual void StartDragging(const DropData& drop_data, |
81 blink::WebDragOperationsMask allowed_ops, | 80 blink::WebDragOperationsMask allowed_ops, |
82 const gfx::ImageSkia& image, | 81 const gfx::ImageSkia& image, |
(...skipping 14 matching lines...) Expand all Loading... |
97 | 96 |
98 // Delegate view for guest's platform view. | 97 // Delegate view for guest's platform view. |
99 RenderViewHostDelegateView* platform_view_delegate_view_; | 98 RenderViewHostDelegateView* platform_view_delegate_view_; |
100 | 99 |
101 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); | 100 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); |
102 }; | 101 }; |
103 | 102 |
104 } // namespace content | 103 } // namespace content |
105 | 104 |
106 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ | 105 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ |
OLD | NEW |