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