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

Unified Diff: chrome/browser/chromeos/login/webui_login_view.cc

Issue 8598024: Now that we are doing a hard-cut-over to Aura, remove a bunch of *Views based classes that are ob... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/chromeos/login/login_utils.cc ('k') | chrome/browser/extensions/extension_input_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/webui_login_view.cc
===================================================================
--- chrome/browser/chromeos/login/webui_login_view.cc (revision 110826)
+++ chrome/browser/chromeos/login/webui_login_view.cc (working copy)
@@ -24,7 +24,6 @@
#include "content/browser/tab_contents/tab_contents.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/size.h"
-#include "ui/views/desktop/desktop_window_view.h"
#include "views/widget/widget.h"
#if defined(TOOLKIT_USES_GTK)
@@ -302,14 +301,11 @@
bool emit_login_visible = false;
- // In aura or views-desktop environment, there will be no window-manager. So
- // chrome needs to emit the 'login-prompt-visible' signal. This needs to
- // happen here, after the page has completed rendering itself.
+ // In aura, there will be no window-manager. So chrome needs to emit the
+ // 'login-prompt-visible' signal. This needs to happen here, after the page
+ // has completed rendering itself.
#if defined(USE_AURA)
emit_login_visible = true;
-#else
- if (views::desktop::DesktopWindowView::desktop_window_view)
- emit_login_visible = true;
#endif
if (emit_login_visible)
chromeos::DBusThreadManager::Get()->GetSessionManagerClient()
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/extensions/extension_input_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698