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

Unified Diff: chrome/browser/chromeos/login/ui/lock_window_aura.h

Issue 371923002: cros: Fixes the text input focus when screen is locked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed to use WidgetDelegate::GetInitiallyFocusedView. Created 6 years, 5 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/chromeos/login/ui/lock_window_aura.h
diff --git a/chrome/browser/chromeos/login/ui/lock_window_aura.h b/chrome/browser/chromeos/login/ui/lock_window_aura.h
index 9c4af353ad2e08ba24a8586cc76003b78373f46f..ff35e1ec0958706271c44f079adf4e3061e9f6ba 100644
--- a/chrome/browser/chromeos/login/ui/lock_window_aura.h
+++ b/chrome/browser/chromeos/login/ui/lock_window_aura.h
@@ -8,16 +8,22 @@
#include "base/compiler_specific.h"
#include "chrome/browser/chromeos/login/ui/lock_window.h"
#include "ui/views/widget/widget.h"
+#include "ui/views/widget/widget_delegate.h"
namespace chromeos {
class LockWindowAura : public views::Widget,
+ public views::WidgetDelegate,
public LockWindow {
public:
// LockWindow implementation:
virtual void Grab() OVERRIDE;
virtual views::Widget* GetWidget() OVERRIDE;
+ // views::WidgetDelegate implementation:
+ virtual views::View* GetInitiallyFocusedView() OVERRIDE;
+ virtual const views::Widget* GetWidget() const OVERRIDE;
+
private:
friend class LockWindow;
« no previous file with comments | « chrome/browser/chromeos/login/ui/lock_window.cc ('k') | chrome/browser/chromeos/login/ui/lock_window_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698