| OLD | NEW | 
|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ | 
| 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ | 
| 7 | 7 | 
| 8 #include <list> | 8 #include <list> | 
| 9 #include <memory> | 9 #include <memory> | 
| 10 | 10 | 
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 88   void UpdateAppState(content::WebContents* contents, | 88   void UpdateAppState(content::WebContents* contents, | 
| 89                       AppState app_state) override; | 89                       AppState app_state) override; | 
| 90   ash::ShelfID GetShelfIDForWebContents( | 90   ash::ShelfID GetShelfIDForWebContents( | 
| 91       content::WebContents* contents) override; | 91       content::WebContents* contents) override; | 
| 92   void SetRefocusURLPatternForTest(ash::ShelfID id, const GURL& url) override; | 92   void SetRefocusURLPatternForTest(ash::ShelfID id, const GURL& url) override; | 
| 93   ash::ShelfItemDelegate::PerformedAction ActivateWindowOrMinimizeIfActive( | 93   ash::ShelfItemDelegate::PerformedAction ActivateWindowOrMinimizeIfActive( | 
| 94       ui::BaseWindow* window, | 94       ui::BaseWindow* window, | 
| 95       bool allow_minimize) override; | 95       bool allow_minimize) override; | 
| 96   void ActiveUserChanged(const std::string& user_email) override; | 96   void ActiveUserChanged(const std::string& user_email) override; | 
| 97   void AdditionalUserAddedToSession(Profile* profile) override; | 97   void AdditionalUserAddedToSession(Profile* profile) override; | 
| 98   ChromeLauncherAppMenuItems GetApplicationList(const ash::ShelfItem& item, | 98   ash::ShelfApplicationMenuItems GetAppMenuItems(const ash::ShelfItem& item, | 
| 99                                                 int event_flags) override; | 99                                                  int event_flags) override; | 
| 100   std::vector<content::WebContents*> GetV1ApplicationsFromAppId( | 100   std::vector<content::WebContents*> GetV1ApplicationsFromAppId( | 
| 101       const std::string& app_id) override; | 101       const std::string& app_id) override; | 
| 102   void ActivateShellApp(const std::string& app_id, int window_index) override; | 102   void ActivateShellApp(const std::string& app_id, int window_index) override; | 
| 103   bool IsWebContentHandledByApplication(content::WebContents* web_contents, | 103   bool IsWebContentHandledByApplication(content::WebContents* web_contents, | 
| 104                                         const std::string& app_id) override; | 104                                         const std::string& app_id) override; | 
| 105   bool ContentCanBeHandledByGmailApp( | 105   bool ContentCanBeHandledByGmailApp( | 
| 106       content::WebContents* web_contents) override; | 106       content::WebContents* web_contents) override; | 
| 107   gfx::Image GetAppListIcon(content::WebContents* web_contents) const override; | 107   gfx::Image GetAppListIcon(content::WebContents* web_contents) const override; | 
| 108   base::string16 GetAppListTitle( | 108   base::string16 GetAppListTitle( | 
| 109       content::WebContents* web_contents) const override; | 109       content::WebContents* web_contents) const override; | 
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 315   typedef std::vector<std::string> RunningAppListIds; | 315   typedef std::vector<std::string> RunningAppListIds; | 
| 316   typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; | 316   typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; | 
| 317   RunningAppListIdMap last_used_running_application_order_; | 317   RunningAppListIdMap last_used_running_application_order_; | 
| 318 | 318 | 
| 319   base::WeakPtrFactory<ChromeLauncherControllerImpl> weak_ptr_factory_; | 319   base::WeakPtrFactory<ChromeLauncherControllerImpl> weak_ptr_factory_; | 
| 320 | 320 | 
| 321   DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); | 321   DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); | 
| 322 }; | 322 }; | 
| 323 | 323 | 
| 324 #endif  // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ | 324 #endif  // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ | 
| OLD | NEW | 
|---|