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

Side by Side Diff: ui/aura_shell/launcher/launcher_model_observer.h

Issue 8247012: Positions the launcher in the bottom left corner. Adds ShellDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix TestDesktopDelegate Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_AURA_SHELL_LAUNCHER_MODEL_OBSERVER_H_ 5 #ifndef UI_AURA_SHELL_LAUNCHER_MODEL_OBSERVER_H_
6 #define UI_AURA_SHELL_LAUNCHER_MODEL_OBSERVER_H_ 6 #define UI_AURA_SHELL_LAUNCHER_MODEL_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/aura_shell/aura_shell_export.h" 9 #include "ui/aura_shell/aura_shell_export.h"
10 10
11 namespace aura_shell { 11 namespace aura_shell {
12 12
13 class AURA_SHELL_EXPORT LauncherModelObserver { 13 class AURA_SHELL_EXPORT LauncherModelObserver {
14 public: 14 public:
15 // Invoked after an item has been added to the model. 15 // Invoked after an item has been added to the model.
16 virtual void LauncherItemAdded(int index) = 0; 16 virtual void LauncherItemAdded(int index) = 0;
17 17
18 // Invoked after an item has been removed. |index| is the index the item was 18 // Invoked after an item has been removed. |index| is the index the item was
19 // at. 19 // at.
20 virtual void LauncherItemRemoved(int index) = 0; 20 virtual void LauncherItemRemoved(int index) = 0;
21 21
22 // Invoked when the selection changes. 22 // Invoked when the images of an item change.
23 virtual void LauncherSelectionChanged() = 0; 23 virtual void LauncherItemImagesChanged(int index) = 0;
24 24
25 protected: 25 protected:
26 virtual ~LauncherModelObserver() {} 26 virtual ~LauncherModelObserver() {}
27 }; 27 };
28 28
29 } // namespace aura_shell 29 } // namespace aura_shell
30 30
31 #endif // UI_AURA_SHELL_LAUNCHER_MODEL_OBSERVER_H_ 31 #endif // UI_AURA_SHELL_LAUNCHER_MODEL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698