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

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

Issue 896583003: Add risk data to getrealpan request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 2158 matching lines...) Expand 10 before | Expand all | Expand 10 after
2169 } 2169 }
2170 2170
2171 gfx::NativeView WebContentsImpl::GetNativeView() { 2171 gfx::NativeView WebContentsImpl::GetNativeView() {
2172 return view_->GetNativeView(); 2172 return view_->GetNativeView();
2173 } 2173 }
2174 2174
2175 gfx::NativeView WebContentsImpl::GetContentNativeView() { 2175 gfx::NativeView WebContentsImpl::GetContentNativeView() {
2176 return view_->GetContentNativeView(); 2176 return view_->GetContentNativeView();
2177 } 2177 }
2178 2178
2179 gfx::NativeWindow WebContentsImpl::GetTopLevelNativeWindow() { 2179 gfx::NativeWindow WebContentsImpl::GetTopLevelNativeWindow() const {
2180 return view_->GetTopLevelNativeWindow(); 2180 return view_->GetTopLevelNativeWindow();
2181 } 2181 }
2182 2182
2183 gfx::Rect WebContentsImpl::GetViewBounds() { 2183 gfx::Rect WebContentsImpl::GetViewBounds() {
2184 return view_->GetViewBounds(); 2184 return view_->GetViewBounds();
2185 } 2185 }
2186 2186
2187 gfx::Rect WebContentsImpl::GetContainerBounds() { 2187 gfx::Rect WebContentsImpl::GetContainerBounds() const {
2188 gfx::Rect rv; 2188 gfx::Rect rv;
2189 view_->GetContainerBounds(&rv); 2189 view_->GetContainerBounds(&rv);
2190 return rv; 2190 return rv;
2191 } 2191 }
2192 2192
2193 DropData* WebContentsImpl::GetDropData() { 2193 DropData* WebContentsImpl::GetDropData() {
2194 return view_->GetDropData(); 2194 return view_->GetDropData();
2195 } 2195 }
2196 2196
2197 void WebContentsImpl::Focus() { 2197 void WebContentsImpl::Focus() {
(...skipping 2285 matching lines...) Expand 10 before | Expand all | Expand 10 after
4483 node->render_manager()->ResumeResponseDeferredAtStart(); 4483 node->render_manager()->ResumeResponseDeferredAtStart();
4484 } 4484 }
4485 4485
4486 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) { 4486 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) {
4487 force_disable_overscroll_content_ = force_disable; 4487 force_disable_overscroll_content_ = force_disable;
4488 if (view_) 4488 if (view_)
4489 view_->SetOverscrollControllerEnabled(CanOverscrollContent()); 4489 view_->SetOverscrollControllerEnabled(CanOverscrollContent());
4490 } 4490 }
4491 4491
4492 } // namespace content 4492 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698