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

Side by Side Diff: chrome/browser/ui/views/extensions/extension_install_dialog_view.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <vector> 5 #include <vector>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 BrowserWindow* browser_window = browser->window(); 362 BrowserWindow* browser_window = browser->window();
363 if (!browser_window) { 363 if (!browser_window) {
364 delegate->InstallUIAbort(false); 364 delegate->InstallUIAbort(false);
365 return; 365 return;
366 } 366 }
367 367
368 ExtensionInstallDialogView* dialog = new ExtensionInstallDialogView( 368 ExtensionInstallDialogView* dialog = new ExtensionInstallDialogView(
369 delegate, prompt); 369 delegate, prompt);
370 370
371 views::Widget* window = views::Widget::CreateWindowWithParent( 371 views::Widget* window = views::Widget::CreateWindowWithParent(
372 dialog, browser_window->GetNativeHandle()); 372 dialog, browser_window->GetNativeWindow());
373 window->Show(); 373 window->Show();
374 } 374 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698