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

Unified Diff: chrome/browser/ui/gtk/gtk_util.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/ui/gtk/gtk_theme_service.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/gtk_util.cc
diff --git a/chrome/browser/ui/gtk/gtk_util.cc b/chrome/browser/ui/gtk/gtk_util.cc
index 34cc4b7bc9b80b0795e957c291cbf1c7294cd6d8..623d7bd4f491d648c00f4965ec35ea9b35addb59 100644
--- a/chrome/browser/ui/gtk/gtk_util.cc
+++ b/chrome/browser/ui/gtk/gtk_util.cc
@@ -289,7 +289,7 @@ WebContents* GetBrowserWindowSelectedWebContents(BrowserWindow* window) {
}
GtkWidget* GetBrowserWindowFocusedWidget(BrowserWindow* window) {
- return gtk_window_get_focus(window->GetNativeHandle());
+ return gtk_window_get_focus(window->GetNativeWindow());
}
} // namespace
@@ -457,7 +457,7 @@ void MakeAppModalWindowGroup() {
it != BrowserList::end(); ++it) {
// List all windows in this current group
GtkWindowGroup* old_group =
- gtk_window_get_group((*it)->window()->GetNativeHandle());
+ gtk_window_get_group((*it)->window()->GetNativeWindow());
GList* all_windows = gtk_window_group_list_windows(old_group);
for (GList* window = all_windows; window; window = window->next) {
@@ -474,7 +474,7 @@ void AppModalDismissedUngroupWindows() {
// All windows should be part of one big modal group right now.
GtkWindowGroup* window_group = gtk_window_get_group(
- (*BrowserList::begin())->window()->GetNativeHandle());
+ (*BrowserList::begin())->window()->GetNativeWindow());
GList* windows = gtk_window_group_list_windows(window_group);
for (GList* item = windows; item; item = item->next) {
« no previous file with comments | « chrome/browser/ui/gtk/gtk_theme_service.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698