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

Unified Diff: ash/launcher/launcher.h

Issue 9808026: Layout panels on top of their launcher icons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for review Created 8 years, 9 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/launcher/launcher.h
diff --git a/ash/launcher/launcher.h b/ash/launcher/launcher.h
index ebc56b8353409fe7cb407718621c1dc0537055d0..4750ffb499cfe584c95c52e0faf9a500d8ea3b50 100644
--- a/ash/launcher/launcher.h
+++ b/ash/launcher/launcher.h
@@ -30,6 +30,7 @@ class FocusCycler;
class LauncherView;
}
+class LauncherIconsObserver;
sky 2012/04/03 20:39:37 Name this class LauncherIconObserver.
Dmitry Lomov (no reviews) 2012/04/03 20:50:07 Why? It observes all icons, you cannot observe a p
sky 2012/04/03 20:57:18 For a similar reason that we have TabModel and not
Dmitry Lomov (no reviews) 2012/04/03 21:18:23 And that reason is...?
stevenjb 2012/04/03 22:09:29 Typically observer and delegate classes are named
class LauncherDelegate;
class LauncherModel;
@@ -56,6 +57,9 @@ class ASH_EXPORT Launcher : public internal::BackgroundAnimatorDelegate {
// no item for the specified window an empty rect is returned.
gfx::Rect GetScreenBoundsOfItemIconForWindow(aura::Window* window);
+ void AddIconsObserver(LauncherIconsObserver* observer);
+ void RemoveIconsObserver(LauncherIconsObserver* observer);
+
// Returns true if the Launcher is showing a context menu.
bool IsShowingMenu() const;
« no previous file with comments | « ash/ash.gyp ('k') | ash/launcher/launcher.cc » ('j') | ash/launcher/launcher_icons_observer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698