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

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

Issue 8711003: Enable WebUI ScreenLocker for aura by abstracting lock window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer comments. 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/lock_window.cc ('k') | chrome/browser/chromeos/login/lock_window_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/lock_window_aura.h
diff --git a/chrome/browser/chromeos/login/lock_window_aura.h b/chrome/browser/chromeos/login/lock_window_aura.h
new file mode 100644
index 0000000000000000000000000000000000000000..4478dcfd1ec04273bd37f697a0f4a8a736488208
--- /dev/null
+++ b/chrome/browser/chromeos/login/lock_window_aura.h
@@ -0,0 +1,36 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WINDOW_AURA_H_
+#define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WINDOW_AURA_H_
+#pragma once
+
+#include "base/compiler_specific.h"
+#include "chrome/browser/chromeos/login/lock_window.h"
+#include "ui/views/widget/widget.h"
+
+namespace chromeos {
+
+class LockWindowAura : public views::Widget,
+ public LockWindow {
+ public:
+ // LockWindow implementation:
+ virtual void Grab(DOMView* dom_view) OVERRIDE;
+ virtual views::Widget* GetWidget() OVERRIDE;
+
+ private:
+ friend class LockWindow;
+
+ LockWindowAura();
+ virtual ~LockWindowAura();
+
+ // Initialize the Aura lock window.
+ void Init();
+
+ DISALLOW_COPY_AND_ASSIGN(LockWindowAura);
+};
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WINDOW_AURA_H_
« no previous file with comments | « chrome/browser/chromeos/login/lock_window.cc ('k') | chrome/browser/chromeos/login/lock_window_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698