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

Unified Diff: chrome/test/base/ui_test_utils_gtk.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/test/base/ui_test_utils_aura.cc ('k') | chrome/test/base/ui_test_utils_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/ui_test_utils_gtk.cc
diff --git a/chrome/test/base/ui_test_utils_gtk.cc b/chrome/test/base/ui_test_utils_gtk.cc
index 080e66c625a4b67f98eddc84912be20a7cf8cb98..d4c5abb3392aaaf98c758045a4911619beadb00f 100644
--- a/chrome/test/base/ui_test_utils_gtk.cc
+++ b/chrome/test/base/ui_test_utils_gtk.cc
@@ -39,7 +39,7 @@ static bool IsWidgetInFocusChain(GtkWidget* root, GtkWidget* target) {
bool IsViewFocused(const Browser* browser, ViewID vid) {
BrowserWindow* browser_window = browser->window();
DCHECK(browser_window);
- gfx::NativeWindow window = browser_window->GetNativeHandle();
+ gfx::NativeWindow window = browser_window->GetNativeWindow();
DCHECK(window);
GtkWidget* widget = ViewIDUtil::GetWidget(GTK_WIDGET(window), vid);
DCHECK(widget);
@@ -49,7 +49,7 @@ bool IsViewFocused(const Browser* browser, ViewID vid) {
void ClickOnView(const Browser* browser, ViewID vid) {
BrowserWindow* browser_window = browser->window();
DCHECK(browser_window);
- gfx::NativeWindow window = browser_window->GetNativeHandle();
+ gfx::NativeWindow window = browser_window->GetNativeWindow();
DCHECK(window);
GtkWidget* view = ViewIDUtil::GetWidget(GTK_WIDGET(window), vid);
DCHECK(view);
« no previous file with comments | « chrome/test/base/ui_test_utils_aura.cc ('k') | chrome/test/base/ui_test_utils_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698