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

Unified Diff: chrome/browser/password_manager/password_manager_util_win.cc

Issue 909183002: win/aura: Remove some more non-aura code for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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/browser/metro_utils/metro_chrome_win.cc ('k') | chrome/browser/platform_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_manager_util_win.cc
diff --git a/chrome/browser/password_manager/password_manager_util_win.cc b/chrome/browser/password_manager/password_manager_util_win.cc
index 98d91f37f767bc18140a3910937a09c2b3a11700..c3ce79de864b0a1ef9f69f9ecb4f98bc65302097 100644
--- a/chrome/browser/password_manager/password_manager_util_win.cc
+++ b/chrome/browser/password_manager/password_manager_util_win.cc
@@ -28,12 +28,9 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/render_widget_host_view.h"
-#include "ui/base/l10n/l10n_util.h"
-
-#if defined(USE_AURA)
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host.h"
-#endif
+#include "ui/base/l10n/l10n_util.h"
namespace password_manager_util {
namespace {
@@ -248,11 +245,7 @@ bool AuthenticateUser(gfx::NativeWindow window) {
cui.cbSize = sizeof(CREDUI_INFO);
cui.hwndParent = NULL;
-#if defined(USE_AURA)
cui.hwndParent = window->GetHost()->GetAcceleratedWidget();
-#else
- cui.hwndParent = window;
-#endif
cui.pszMessageText = password_prompt.c_str();
cui.pszCaptionText = product_name.c_str();
« no previous file with comments | « chrome/browser/metro_utils/metro_chrome_win.cc ('k') | chrome/browser/platform_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698