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

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

Issue 1345343003: Remove lots of old blur plumbing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 5 years, 2 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after
1469 base::Bind(&AddRenderWidgetHostViewToSet, base::Unretained(&set))); 1469 base::Bind(&AddRenderWidgetHostViewToSet, base::Unretained(&set)));
1470 } 1470 }
1471 return set; 1471 return set;
1472 } 1472 }
1473 1473
1474 void WebContentsImpl::Activate() { 1474 void WebContentsImpl::Activate() {
1475 if (delegate_) 1475 if (delegate_)
1476 delegate_->ActivateContents(this); 1476 delegate_->ActivateContents(this);
1477 } 1477 }
1478 1478
1479 void WebContentsImpl::Deactivate() {
1480 if (delegate_)
1481 delegate_->DeactivateContents(this);
1482 }
1483
1484 void WebContentsImpl::LostCapture() { 1479 void WebContentsImpl::LostCapture() {
1485 if (delegate_) 1480 if (delegate_)
1486 delegate_->LostCapture(); 1481 delegate_->LostCapture();
1487 } 1482 }
1488 1483
1489 void WebContentsImpl::RenderWidgetDeleted( 1484 void WebContentsImpl::RenderWidgetDeleted(
1490 RenderWidgetHostImpl* render_widget_host) { 1485 RenderWidgetHostImpl* render_widget_host) {
1491 if (is_being_destroyed_) { 1486 if (is_being_destroyed_) {
1492 // |created_widgets_| might have been destroyed. 1487 // |created_widgets_| might have been destroyed.
1493 return; 1488 return;
(...skipping 3151 matching lines...) Expand 10 before | Expand all | Expand 10 after
4645 return NULL; 4640 return NULL;
4646 } 4641 }
4647 4642
4648 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) { 4643 void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) {
4649 force_disable_overscroll_content_ = force_disable; 4644 force_disable_overscroll_content_ = force_disable;
4650 if (view_) 4645 if (view_)
4651 view_->SetOverscrollControllerEnabled(CanOverscrollContent()); 4646 view_->SetOverscrollControllerEnabled(CanOverscrollContent());
4652 } 4647 }
4653 4648
4654 } // namespace content 4649 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698