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

Unified Diff: chrome/browser/automation/testing_automation_provider.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
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index d25ed44f3abb0890c2dda850491cd715f37acd3c..c258370d2129d861fce677692ee675debbb181f3 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -671,7 +671,7 @@ void TestingAutomationProvider::GetActiveWindow(int* handle) {
*handle = 0;
Browser* browser = BrowserList::GetLastActive();
if (browser) {
- gfx::NativeWindow window = browser->window()->GetNativeHandle();
+ gfx::NativeWindow window = browser->window()->GetNativeWindow();
*handle = window_tracker_->Add(window);
}
}
@@ -1217,7 +1217,7 @@ void TestingAutomationProvider::GetWindowForBrowser(int browser_handle,
if (browser_tracker_->ContainsHandle(browser_handle)) {
Browser* browser = browser_tracker_->GetResource(browser_handle);
- gfx::NativeWindow win = browser->window()->GetNativeHandle();
+ gfx::NativeWindow win = browser->window()->GetNativeWindow();
// Add() returns the existing handle for the resource if any.
*handle = window_tracker_->Add(win);
*success = true;
@@ -5416,7 +5416,7 @@ void TestingAutomationProvider::SendOSLevelKeyEventToTab(
.SendError("Could not get the browser window");
return;
}
- gfx::NativeWindow window = browser_window->GetNativeHandle();
+ gfx::NativeWindow window = browser_window->GetNativeWindow();
if (!window) {
AutomationJSONReply(this, reply_message)
.SendError("Could not get the browser window handle");

Powered by Google App Engine
This is Rietveld 408576698