| 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_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 79 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
| 80 virtual void OpenSettings() OVERRIDE; | 80 virtual void OpenSettings() OVERRIDE; |
| 81 virtual void OpenHelp() OVERRIDE; | 81 virtual void OpenHelp() OVERRIDE; |
| 82 virtual void OpenFeedback() OVERRIDE; | 82 virtual void OpenFeedback() OVERRIDE; |
| 83 virtual void ToggleSpeechRecognition() OVERRIDE; | 83 virtual void ToggleSpeechRecognition() OVERRIDE; |
| 84 virtual void ShowForProfileByPath( | 84 virtual void ShowForProfileByPath( |
| 85 const base::FilePath& profile_path) OVERRIDE; | 85 const base::FilePath& profile_path) OVERRIDE; |
| 86 virtual content::WebContents* GetStartPageContents() OVERRIDE; | 86 virtual content::WebContents* GetStartPageContents() OVERRIDE; |
| 87 virtual content::WebContents* GetSpeechRecognitionContents() OVERRIDE; | 87 virtual content::WebContents* GetSpeechRecognitionContents() OVERRIDE; |
| 88 virtual const Users& GetUsers() const OVERRIDE; | 88 virtual const Users& GetUsers() const OVERRIDE; |
| 89 virtual bool UseExperimentalAppListPosition() const OVERRIDE; |
| 89 virtual gfx::Rect GetVirtualKeyboardBounds() const OVERRIDE; | 90 virtual gfx::Rect GetVirtualKeyboardBounds() const OVERRIDE; |
| 90 virtual void AddObserver( | 91 virtual void AddObserver( |
| 91 app_list::AppListViewDelegateObserver* observer) OVERRIDE; | 92 app_list::AppListViewDelegateObserver* observer) OVERRIDE; |
| 92 virtual void RemoveObserver( | 93 virtual void RemoveObserver( |
| 93 app_list::AppListViewDelegateObserver* observer) OVERRIDE; | 94 app_list::AppListViewDelegateObserver* observer) OVERRIDE; |
| 94 | 95 |
| 95 // Overridden from app_list::StartPageObserver: | 96 // Overridden from app_list::StartPageObserver: |
| 96 virtual void OnSpeechResult(const base::string16& result, | 97 virtual void OnSpeechResult(const base::string16& result, |
| 97 bool is_final) OVERRIDE; | 98 bool is_final) OVERRIDE; |
| 98 virtual void OnSpeechSoundLevelChanged(int16 level) OVERRIDE; | 99 virtual void OnSpeechSoundLevelChanged(int16 level) OVERRIDE; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 ObserverList<app_list::AppListViewDelegateObserver> observers_; | 142 ObserverList<app_list::AppListViewDelegateObserver> observers_; |
| 142 | 143 |
| 143 // Used to track the SigninManagers that this instance is observing so that | 144 // Used to track the SigninManagers that this instance is observing so that |
| 144 // this instance can be removed as an observer on its destruction. | 145 // this instance can be removed as an observer on its destruction. |
| 145 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_; | 146 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_; |
| 146 | 147 |
| 147 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); | 148 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); |
| 148 }; | 149 }; |
| 149 | 150 |
| 150 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 151 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
| OLD | NEW |