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

Unified Diff: chrome/test/base/ui_test_utils_mac.mm

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_gtk.cc ('k') | chrome/test/base/ui_test_utils_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/ui_test_utils_mac.mm
diff --git a/chrome/test/base/ui_test_utils_mac.mm b/chrome/test/base/ui_test_utils_mac.mm
index 925f0fbd37dd5980d3378b7136e2031b507f4c79..a4dac9f0534683c5932d1fe58f97bf7a83b57296 100644
--- a/chrome/test/base/ui_test_utils_mac.mm
+++ b/chrome/test/base/ui_test_utils_mac.mm
@@ -29,7 +29,7 @@ void SetWindowBounds(gfx::NativeWindow window, const gfx::Rect& bounds) {
}
bool IsViewFocused(const Browser* browser, ViewID vid) {
- NSWindow* window = browser->window()->GetNativeHandle();
+ NSWindow* window = browser->window()->GetNativeWindow();
DCHECK(window);
NSView* view = view_id_util::GetView(window, vid);
if (!view)
@@ -51,7 +51,7 @@ bool IsViewFocused(const Browser* browser, ViewID vid) {
}
void ClickOnView(const Browser* browser, ViewID vid) {
- NSWindow* window = browser->window()->GetNativeHandle();
+ NSWindow* window = browser->window()->GetNativeWindow();
DCHECK(window);
NSView* view = view_id_util::GetView(window, vid);
DCHECK(view);
« no previous file with comments | « chrome/test/base/ui_test_utils_gtk.cc ('k') | chrome/test/base/ui_test_utils_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698