Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1098)

Side by Side Diff: content/browser/web_contents/web_contents_view_guest.h

Issue 388803003: [Mac] Replace SetOverlayView with AllowOtherViews. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698