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

Unified Diff: content/browser/web_contents/web_contents_view_guest.cc

Issue 388803003: [Mac] Replace SetOverlayView with AllowOtherViews. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased, fixed comments 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_view_guest.cc
diff --git a/content/browser/web_contents/web_contents_view_guest.cc b/content/browser/web_contents/web_contents_view_guest.cc
index 14f460077b8ff4933b9725d1c782ac26aae48c97..31f880d1782094562fd1f7ece1503cdd4d014319 100644
--- a/content/browser/web_contents/web_contents_view_guest.cc
+++ b/content/browser/web_contents/web_contents_view_guest.cc
@@ -127,13 +127,12 @@ bool WebContentsViewGuest::GetAllowOverlappingViews() const {
return platform_view_->GetAllowOverlappingViews();
}
-void WebContentsViewGuest::SetOverlayView(
- WebContentsView* overlay, const gfx::Point& offset) {
- platform_view_->SetOverlayView(overlay, offset);
+void WebContentsViewGuest::SetAllowOtherViews(bool allow) {
+ platform_view_->SetAllowOtherViews(allow);
}
-void WebContentsViewGuest::RemoveOverlayView() {
- platform_view_->RemoveOverlayView();
+bool WebContentsViewGuest::GetAllowOtherViews() const {
+ return platform_view_->GetAllowOtherViews();
}
#endif
« no previous file with comments | « content/browser/web_contents/web_contents_view_guest.h ('k') | content/browser/web_contents/web_contents_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698