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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 bool auto_launch, | 94 bool auto_launch, |
95 int event_flags) override; | 95 int event_flags) override; |
96 void InvokeSearchResultAction(app_list::SearchResult* result, | 96 void InvokeSearchResultAction(app_list::SearchResult* result, |
97 int action_index, | 97 int action_index, |
98 int event_flags) override; | 98 int event_flags) override; |
99 base::TimeDelta GetAutoLaunchTimeout() override; | 99 base::TimeDelta GetAutoLaunchTimeout() override; |
100 void AutoLaunchCanceled() override; | 100 void AutoLaunchCanceled() override; |
101 void ViewInitialized() override; | 101 void ViewInitialized() override; |
102 void Dismiss() override; | 102 void Dismiss() override; |
103 void ViewClosing() override; | 103 void ViewClosing() override; |
104 void OpenSettings() override; | |
105 void OpenHelp() override; | 104 void OpenHelp() override; |
106 void OpenFeedback() override; | 105 void OpenFeedback() override; |
107 void StartSpeechRecognition() override; | 106 void StartSpeechRecognition() override; |
108 void StopSpeechRecognition() override; | 107 void StopSpeechRecognition() override; |
109 void ShowForProfileByPath(const base::FilePath& profile_path) override; | 108 void ShowForProfileByPath(const base::FilePath& profile_path) override; |
110 #if defined(TOOLKIT_VIEWS) | 109 #if defined(TOOLKIT_VIEWS) |
111 views::View* CreateStartPageWebView(const gfx::Size& size) override; | 110 views::View* CreateStartPageWebView(const gfx::Size& size) override; |
112 std::vector<views::View*> CreateCustomPageWebViews( | 111 std::vector<views::View*> CreateCustomPageWebViews( |
113 const gfx::Size& size) override; | 112 const gfx::Size& size) override; |
114 void CustomLauncherPageAnimationChanged(double progress) override; | 113 void CustomLauncherPageAnimationChanged(double progress) override; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // Window contents of additional custom launcher pages. | 217 // Window contents of additional custom launcher pages. |
219 ScopedVector<apps::CustomLauncherPageContents> custom_page_contents_; | 218 ScopedVector<apps::CustomLauncherPageContents> custom_page_contents_; |
220 | 219 |
221 // Registers for NOTIFICATION_APP_TERMINATING to unload custom launcher pages. | 220 // Registers for NOTIFICATION_APP_TERMINATING to unload custom launcher pages. |
222 content::NotificationRegistrar registrar_; | 221 content::NotificationRegistrar registrar_; |
223 | 222 |
224 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); | 223 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); |
225 }; | 224 }; |
226 | 225 |
227 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | 226 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ |
OLD | NEW |