OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/launcher/launcher_types.h" | 10 #include "ash/launcher/launcher_types.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // activation state. | 69 // activation state. |
70 void BrowserActivationStateChanged(); | 70 void BrowserActivationStateChanged(); |
71 | 71 |
72 // LauncherItemController overrides: | 72 // LauncherItemController overrides: |
73 virtual string16 GetTitle() OVERRIDE; | 73 virtual string16 GetTitle() OVERRIDE; |
74 virtual bool HasWindow(aura::Window* window) const OVERRIDE; | 74 virtual bool HasWindow(aura::Window* window) const OVERRIDE; |
75 virtual bool IsOpen() const OVERRIDE; | 75 virtual bool IsOpen() const OVERRIDE; |
76 virtual void Launch(int event_flags) OVERRIDE; | 76 virtual void Launch(int event_flags) OVERRIDE; |
77 virtual void Activate() OVERRIDE; | 77 virtual void Activate() OVERRIDE; |
78 virtual void Close() OVERRIDE; | 78 virtual void Close() OVERRIDE; |
79 virtual void Clicked() OVERRIDE; | 79 virtual void Clicked(const ui::Event& event) OVERRIDE; |
80 virtual void OnRemoved() OVERRIDE; | 80 virtual void OnRemoved() OVERRIDE; |
81 virtual void LauncherItemChanged(int index, | 81 virtual void LauncherItemChanged(int index, |
82 const ash::LauncherItem& old_item) OVERRIDE; | 82 const ash::LauncherItem& old_item) OVERRIDE; |
83 virtual ChromeLauncherAppMenuItems* GetApplicationList() OVERRIDE; | 83 virtual ChromeLauncherAppMenuItems* GetApplicationList() OVERRIDE; |
84 | 84 |
85 // TabStripModel overrides: | 85 // TabStripModel overrides: |
86 virtual void ActiveTabChanged(content::WebContents* old_contents, | 86 virtual void ActiveTabChanged(content::WebContents* old_contents, |
87 content::WebContents* new_contents, | 87 content::WebContents* new_contents, |
88 int index, | 88 int index, |
89 bool user_gesture) OVERRIDE; | 89 bool user_gesture) OVERRIDE; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 // Whether this is associated with an incognito profile. | 138 // Whether this is associated with an incognito profile. |
139 const bool is_incognito_; | 139 const bool is_incognito_; |
140 | 140 |
141 // Loads launcher sized favicons for panels. | 141 // Loads launcher sized favicons for panels. |
142 scoped_ptr<LauncherFaviconLoader> favicon_loader_; | 142 scoped_ptr<LauncherFaviconLoader> favicon_loader_; |
143 | 143 |
144 DISALLOW_COPY_AND_ASSIGN(BrowserLauncherItemController); | 144 DISALLOW_COPY_AND_ASSIGN(BrowserLauncherItemController); |
145 }; | 145 }; |
146 | 146 |
147 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ | 147 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ |
OLD | NEW |