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

Side by Side Diff: content/browser/web_contents/web_contents_impl.cc

Issue 468193005: Remove SetAllowOverlappingView from RWHVMac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_ca_flag
Patch Set: Created 6 years, 4 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
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 #include "content/browser/web_contents/web_contents_impl.h" 5 #include "content/browser/web_contents/web_contents_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 4100 matching lines...) Expand 10 before | Expand all | Expand 10 after
4111 4111
4112 bool WebContentsImpl::CreateRenderViewForInitialEmptyDocument() { 4112 bool WebContentsImpl::CreateRenderViewForInitialEmptyDocument() {
4113 return CreateRenderViewForRenderManager(GetRenderViewHost(), 4113 return CreateRenderViewForRenderManager(GetRenderViewHost(),
4114 MSG_ROUTING_NONE, 4114 MSG_ROUTING_NONE,
4115 MSG_ROUTING_NONE, 4115 MSG_ROUTING_NONE,
4116 true); 4116 true);
4117 } 4117 }
4118 4118
4119 #elif defined(OS_MACOSX) 4119 #elif defined(OS_MACOSX)
4120 4120
4121 void WebContentsImpl::SetAllowOverlappingViews(bool overlapping) {
4122 view_->SetAllowOverlappingViews(overlapping);
4123 }
4124
4125 bool WebContentsImpl::GetAllowOverlappingViews() {
4126 return view_->GetAllowOverlappingViews();
4127 }
4128
4129 void WebContentsImpl::SetAllowOtherViews(bool allow) { 4121 void WebContentsImpl::SetAllowOtherViews(bool allow) {
4130 view_->SetAllowOtherViews(allow); 4122 view_->SetAllowOtherViews(allow);
4131 } 4123 }
4132 4124
4133 bool WebContentsImpl::GetAllowOtherViews() { 4125 bool WebContentsImpl::GetAllowOtherViews() {
4134 return view_->GetAllowOtherViews(); 4126 return view_->GetAllowOtherViews();
4135 } 4127 }
4136 4128
4137 #endif 4129 #endif
4138 4130
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
4246 if (new_size != old_size) 4238 if (new_size != old_size)
4247 delegate_->UpdatePreferredSize(this, new_size); 4239 delegate_->UpdatePreferredSize(this, new_size);
4248 } 4240 }
4249 4241
4250 void WebContentsImpl::ResumeResponseDeferredAtStart() { 4242 void WebContentsImpl::ResumeResponseDeferredAtStart() {
4251 FrameTreeNode* node = frame_tree_.root(); 4243 FrameTreeNode* node = frame_tree_.root();
4252 node->render_manager()->ResumeResponseDeferredAtStart(); 4244 node->render_manager()->ResumeResponseDeferredAtStart();
4253 } 4245 }
4254 4246
4255 } // namespace content 4247 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/browser/web_contents/web_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698