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

Unified Diff: ash/first_run/first_run_delegate_impl.h

Issue 26277006: Created ash::FirstRunHelper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed. Created 7 years, 2 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: ash/first_run/first_run_delegate_impl.h
diff --git a/ash/first_run/first_run_delegate_impl.h b/ash/first_run/first_run_delegate_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..e553de04a0e5f29c67363ca00ecaccfe3a3c1d63
--- /dev/null
+++ b/ash/first_run/first_run_delegate_impl.h
@@ -0,0 +1,33 @@
+// Copyright 2013 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 ASH_FIRST_RUN_FIRST_RUN_DELEGATE_IMPL_H_
+#define ASH_FIRST_RUN_FIRST_RUN_DELEGATE_IMPL_H_
+
+#include "ash/first_run/first_run_delegate.h"
+#include "base/compiler_specific.h"
+
+namespace ash {
+
+class Shell;
+
+class FirstRunDelegateImpl : public FirstRunDelegate {
+ public:
+ FirstRunDelegateImpl();
+
+ // Overriden from FirstRunDelegate.
+ virtual void OpenAppList() OVERRIDE;
+ virtual void CloseAppList() OVERRIDE;
+ virtual gfx::Rect GetLauncherBounds() OVERRIDE;
+ virtual gfx::Rect GetAppListButtonBounds() OVERRIDE;
+ virtual bool GetAppListBounds(gfx::Rect* result) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(FirstRunDelegateImpl);
+};
+
+} // namespace ash
+
+#endif // ASH_FIRST_RUN_FIRST_RUN_DELEGATE_IMPL_H_
+

Powered by Google App Engine
This is Rietveld 408576698