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

Side by Side Diff: chrome/browser/ui/blocked_content/blocked_content_container.cc

Issue 10532162: Rename IPC Sender and Listener in ppapi, content/public, and content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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 "chrome/browser/ui/blocked_content/blocked_content_container.h" 5 #include "chrome/browser/ui/blocked_content/blocked_content_container.h"
6 6
7 #include "base/logging.h"
7 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h" 8 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h"
8 #include "chrome/browser/ui/tab_contents/tab_contents.h" 9 #include "chrome/browser/ui/tab_contents/tab_contents.h"
9 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
10 #include "ui/gfx/rect.h" 11 #include "ui/gfx/rect.h"
11 12
12 using content::OpenURLParams; 13 using content::OpenURLParams;
13 using content::WebContents; 14 using content::WebContents;
14 15
15 // static 16 // static
16 const size_t BlockedContentContainer::kImpossibleNumberOfPopups = 30; 17 const size_t BlockedContentContainer::kImpossibleNumberOfPopups = 30;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 bool BlockedContentContainer::ShouldSuppressDialogs() { 160 bool BlockedContentContainer::ShouldSuppressDialogs() {
160 // Suppress JavaScript dialogs when inside a constrained popup window (because 161 // Suppress JavaScript dialogs when inside a constrained popup window (because
161 // that activates them and breaks them out of the constrained window jail). 162 // that activates them and breaks them out of the constrained window jail).
162 return true; 163 return true;
163 } 164 }
164 165
165 TabContents* BlockedContentContainer::GetConstrainingTabContents( 166 TabContents* BlockedContentContainer::GetConstrainingTabContents(
166 TabContents* source) { 167 TabContents* source) {
167 return owner_; 168 return owner_;
168 } 169 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/malware_details.h ('k') | chrome/browser/ui/browser_navigator_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698