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

Unified Diff: chrome/browser/ui/browser.cc

Issue 11647017: Rename platform-independent ConstrainedWindow types to WebContentsModalDialog types (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: stage changes to preserve history Created 8 years 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
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index f1d1d7dcd4ee502a62019b6aeec6220704ccb12e..58d55aa8cede1eceb3cbf264a26fcbbf2f4b107c 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1832,8 +1832,8 @@ void Browser::ConfirmAddSearchProvider(TemplateURL* template_url,
///////////////////////////////////////////////////////////////////////////////
// Browser, ConstrainedWindowTabHelperDelegate implementation:
-void Browser::SetTabContentBlocked(content::WebContents* web_contents,
- bool blocked) {
+void Browser::SetWebContentsBlocked(content::WebContents* web_contents,
+ bool blocked) {
int index = tab_strip_model_->GetIndexOfWebContents(web_contents);
if (index == TabStripModel::kNoTab) {
NOTREACHED();
@@ -1844,7 +1844,7 @@ void Browser::SetTabContentBlocked(content::WebContents* web_contents,
web_contents->Focus();
}
-bool Browser::GetConstrainedWindowTopCenter(gfx::Point* point) {
+bool Browser::GetDialogTopCenter(gfx::Point* point) {
int y = 0;
if (window_->GetConstrainedWindowTopY(&y)) {
*point = gfx::Point(window_->GetBounds().width() / 2, y);
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698