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

Unified Diff: chrome/browser/printing/print_dialog_cloud_interative_uitest.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/printing/print_dialog_cloud_interative_uitest.cc
diff --git a/chrome/browser/printing/print_dialog_cloud_interative_uitest.cc b/chrome/browser/printing/print_dialog_cloud_interative_uitest.cc
index d1e40d77bc4aa1b88f36ed60e03ada92ce481612..36195c82ddf0b51a25480fd29a7f8578478634c4 100644
--- a/chrome/browser/printing/print_dialog_cloud_interative_uitest.cc
+++ b/chrome/browser/printing/print_dialog_cloud_interative_uitest.cc
@@ -208,7 +208,7 @@ class PrintDialogCloudTest : public InProcessBrowserTest {
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
base::Bind(&internal_cloud_print_helpers::CreateDialogFullImpl,
- browser()->profile(), browser()->window()->GetNativeHandle(),
+ browser()->profile(), browser()->window()->GetNativeWindow(),
path_to_pdf, string16(), string16(),
std::string("application/pdf"), false));
}
@@ -258,7 +258,7 @@ IN_PROC_BROWSER_TEST_F(PrintDialogCloudTest, MAYBE_HandlersRegistered) {
// the window. See http://crbug.com/111269
BrowserWindow* window = browser()->window();
ASSERT_TRUE(window);
- gfx::NativeWindow native_window = window->GetNativeHandle();
+ gfx::NativeWindow native_window = window->GetNativeWindow();
ASSERT_TRUE(native_window);
bool key_sent = ui_controls::SendKeyPress(native_window, ui::VKEY_ESCAPE,
false, false, false, false);

Powered by Google App Engine
This is Rietveld 408576698