| 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 UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ | 5 #ifndef UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ |
| 6 #define UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ | 6 #define UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 virtual void ViewClosing() OVERRIDE {} | 70 virtual void ViewClosing() OVERRIDE {} |
| 71 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 71 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
| 72 virtual void OpenSettings() OVERRIDE {} | 72 virtual void OpenSettings() OVERRIDE {} |
| 73 virtual void OpenHelp() OVERRIDE {} | 73 virtual void OpenHelp() OVERRIDE {} |
| 74 virtual void OpenFeedback() OVERRIDE {} | 74 virtual void OpenFeedback() OVERRIDE {} |
| 75 virtual void ToggleSpeechRecognition() OVERRIDE; | 75 virtual void ToggleSpeechRecognition() OVERRIDE; |
| 76 virtual void ShowForProfileByPath( | 76 virtual void ShowForProfileByPath( |
| 77 const base::FilePath& profile_path) OVERRIDE {} | 77 const base::FilePath& profile_path) OVERRIDE {} |
| 78 #if defined(TOOLKIT_VIEWS) | 78 #if defined(TOOLKIT_VIEWS) |
| 79 virtual views::View* CreateStartPageWebView(const gfx::Size& size) OVERRIDE; | 79 virtual views::View* CreateStartPageWebView(const gfx::Size& size) OVERRIDE; |
| 80 virtual views::View* CreateCustomPageWebView(const gfx::Size& size) OVERRIDE; |
| 80 #endif | 81 #endif |
| 81 virtual bool IsSpeechRecognitionEnabled() OVERRIDE; | 82 virtual bool IsSpeechRecognitionEnabled() OVERRIDE; |
| 82 virtual const Users& GetUsers() const OVERRIDE; | 83 virtual const Users& GetUsers() const OVERRIDE; |
| 83 virtual bool ShouldCenterWindow() const OVERRIDE; | 84 virtual bool ShouldCenterWindow() const OVERRIDE; |
| 84 virtual void AddObserver(AppListViewDelegateObserver* observer) OVERRIDE; | 85 virtual void AddObserver(AppListViewDelegateObserver* observer) OVERRIDE; |
| 85 virtual void RemoveObserver(AppListViewDelegateObserver* observer) OVERRIDE; | 86 virtual void RemoveObserver(AppListViewDelegateObserver* observer) OVERRIDE; |
| 86 | 87 |
| 87 // Do a bulk replacement of the items in the model. | 88 // Do a bulk replacement of the items in the model. |
| 88 void ReplaceTestModel(int item_count); | 89 void ReplaceTestModel(int item_count); |
| 89 | 90 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 102 SpeechUIModel speech_ui_; | 103 SpeechUIModel speech_ui_; |
| 103 base::TimeDelta auto_launch_timeout_; | 104 base::TimeDelta auto_launch_timeout_; |
| 104 | 105 |
| 105 DISALLOW_COPY_AND_ASSIGN(AppListTestViewDelegate); | 106 DISALLOW_COPY_AND_ASSIGN(AppListTestViewDelegate); |
| 106 }; | 107 }; |
| 107 | 108 |
| 108 } // namespace test | 109 } // namespace test |
| 109 } // namespace app_list | 110 } // namespace app_list |
| 110 | 111 |
| 111 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ | 112 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ |
| OLD | NEW |