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

Side by Side Diff: ash/first_run/first_run_helper.h

Issue 26277006: Created ash::FirstRunHelper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/ash.gyp ('k') | ash/first_run/first_run_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_FIRST_RUN_FIRST_RUN_HELPER_H_
6 #define ASH_FIRST_RUN_FIRST_RUN_HELPER_H_
7
8 #include "ash/ash_export.h"
9 #include "base/basictypes.h"
10
11 namespace gfx {
12 class Rect;
13 }
14
15 namespace ash {
16
17 // Interface used by first-run tutorial to manipulate and retreive information
18 // about shell elements.
19 // All returned coordinates are in screen coordinate system.
20 class ASH_EXPORT FirstRunHelper {
21 public:
22 FirstRunHelper();
23 virtual ~FirstRunHelper();
24
25 // Opens and closes app list.
26 virtual void OpenAppList() = 0;
27 virtual void CloseAppList() = 0;
28
29 // Returns bounding rectangle of launcher elements.
30 virtual gfx::Rect GetLauncherBounds() = 0;
31
32 // Returns bounds of application list button.
33 virtual gfx::Rect GetAppListButtonBounds() = 0;
34
35 // Returns bounds of application list. You must open application list before
36 // calling this method.
37 virtual gfx::Rect GetAppListBounds() = 0;
38
39 private:
40 DISALLOW_COPY_AND_ASSIGN(FirstRunHelper);
41 };
42
43 } // namespace ash
44
45 #endif // ASH_FIRST_RUN_FIRST_RUN_HELPER_H_
46
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/first_run/first_run_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698