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

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

Issue 10538039: Renamed BrowserWindow::GetNativeHandle() to GetNativeWindow() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update copyrights 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ssl/ssl_add_cert_handler_mac.mm ('k') | chrome/browser/ui/browser_finder.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 fe4253c7aa2466f803131f0d7530bb64a33d7ea8..d4ee67f0084151da38e71cacfca9580626a641cf 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -538,11 +538,11 @@ void Browser::InitBrowserWindow() {
is_app() && !is_type_panel() ?
ShellIntegration::GetAppId(UTF8ToWide(app_name_), profile_->GetPath()) :
ShellIntegration::GetChromiumAppId(profile_->GetPath()),
- window()->GetNativeHandle());
+ window()->GetNativeWindow());
if (is_type_panel()) {
ui::win::SetAppIconForWindow(ShellIntegration::GetChromiumIconPath(),
- window()->GetNativeHandle());
+ window()->GetNativeWindow());
}
#endif
@@ -1207,7 +1207,7 @@ gfx::NativeWindow Browser::BrowserShowWebDialog(
WebDialogDelegate* delegate,
gfx::NativeWindow parent_window) {
if (!parent_window)
- parent_window = window_->GetNativeHandle();
+ parent_window = window_->GetNativeWindow();
return browser::ShowWebDialog(parent_window, profile_, this, delegate);
}
@@ -1792,7 +1792,7 @@ void Browser::OpenFile() {
const FilePath directory = profile_->last_selected_directory();
// TODO(beng): figure out how to juggle this.
- gfx::NativeWindow parent_window = window_->GetNativeHandle();
+ gfx::NativeWindow parent_window = window_->GetNativeWindow();
select_file_dialog_->SelectFile(SelectFileDialog::SELECT_OPEN_FILE,
string16(), directory,
NULL, 0, FILE_PATH_LITERAL(""),
@@ -2412,7 +2412,7 @@ void Browser::UpdateUIForNavigationInTab(TabContents* contents,
}
void Browser::ShowCollectedCookiesDialog(TabContents* tab_contents) {
- browser::ShowCollectedCookiesDialog(window()->GetNativeHandle(),
+ browser::ShowCollectedCookiesDialog(window()->GetNativeWindow(),
tab_contents);
}
« no previous file with comments | « chrome/browser/ssl/ssl_add_cert_handler_mac.mm ('k') | chrome/browser/ui/browser_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698