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

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

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 side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index bd4f19356302ab5b2f00c5ccc3ce19452da87975..9a2dab18adf4109c118e44787e86845b08c27843 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -3979,14 +3979,12 @@ bool WebContentsImpl::GetAllowOverlappingViews() {
return view_->GetAllowOverlappingViews();
}
-void WebContentsImpl::SetOverlayView(WebContents* overlay,
- const gfx::Point& offset) {
- view_->SetOverlayView(static_cast<WebContentsImpl*>(overlay)->GetView(),
- offset);
+void WebContentsImpl::SetAllowOtherViews(bool allow) {
+ view_->SetAllowOtherViews(allow);
}
-void WebContentsImpl::RemoveOverlayView() {
- view_->RemoveOverlayView();
+bool WebContentsImpl::GetAllowOtherViews() {
+ return view_->GetAllowOtherViews();
}
#endif

Powered by Google App Engine
This is Rietveld 408576698