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

Unified Diff: chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h

Issue 13007002: Create launcher app list for shell windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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: chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h
diff --git a/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h
index fed061908ed45647707844b95bbfc38d483946d7..b9b80ef27926cd07b1ce3ea2aa64b03876a54f85 100644
--- a/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h
+++ b/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h
@@ -8,6 +8,7 @@
#include <list>
#include <string>
+#include "base/memory/scoped_ptr.h"
#include "base/scoped_observer.h"
#include "chrome/browser/ui/ash/launcher/launcher_item_controller.h"
#include "ui/aura/window_observer.h"
@@ -79,18 +80,14 @@ class ShellWindowLauncherItemController : public LauncherItemController,
private:
typedef std::list<ShellWindow*> ShellWindowList;
- // Get the title of the running application with this |index|.
- string16 GetTitleOfIndexedApp(size_t index);
-
- // Get the title of the running application with this |index|.
- // Note that the returned image needs to be released by the caller.
- gfx::Image* GetIconOfIndexedApp(size_t index);
-
void RestoreOrShow(ShellWindow* shell_window);
- // List of associated shell windows in activation order.
+ // List of associated shell windows
ShellWindowList shell_windows_;
+ // Pointer to the most recently active shell window
+ ShellWindow* last_active_shell_window_;
+
// The launcher id associated with this set of windows. There is one
// AppLauncherItemController for each |app_launcher_id_|.
const std::string app_launcher_id_;

Powered by Google App Engine
This is Rietveld 408576698