Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(854)

Side by Side Diff: chrome/browser/ui/app_list/app_list_view_delegate.h

Issue 25859005: Elim ActivateAppListItem, ChromeAppListItem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fixes Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/shell/app_list.cc ('k') | chrome/browser/ui/app_list/app_list_view_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Updates the app list's current profile and ProfileMenuItems. 56 // Updates the app list's current profile and ProfileMenuItems.
57 void OnProfileChanged(); 57 void OnProfileChanged();
58 58
59 // Overridden from app_list::AppListViewDelegate: 59 // Overridden from app_list::AppListViewDelegate:
60 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE; 60 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE;
61 virtual void InitModel(app_list::AppListModel* model) OVERRIDE; 61 virtual void InitModel(app_list::AppListModel* model) OVERRIDE;
62 virtual app_list::SigninDelegate* GetSigninDelegate() OVERRIDE; 62 virtual app_list::SigninDelegate* GetSigninDelegate() OVERRIDE;
63 virtual void GetShortcutPathForApp( 63 virtual void GetShortcutPathForApp(
64 const std::string& app_id, 64 const std::string& app_id,
65 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; 65 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE;
66 virtual void ActivateAppListItem(app_list::AppListItemModel* item,
67 int event_flags) OVERRIDE;
68 virtual void StartSearch() OVERRIDE; 66 virtual void StartSearch() OVERRIDE;
69 virtual void StopSearch() OVERRIDE; 67 virtual void StopSearch() OVERRIDE;
70 virtual void OpenSearchResult(app_list::SearchResult* result, 68 virtual void OpenSearchResult(app_list::SearchResult* result,
71 int event_flags) OVERRIDE; 69 int event_flags) OVERRIDE;
72 virtual void InvokeSearchResultAction(app_list::SearchResult* result, 70 virtual void InvokeSearchResultAction(app_list::SearchResult* result,
73 int action_index, 71 int action_index,
74 int event_flags) OVERRIDE; 72 int event_flags) OVERRIDE;
75 virtual void Dismiss() OVERRIDE; 73 virtual void Dismiss() OVERRIDE;
76 virtual void ViewClosing() OVERRIDE; 74 virtual void ViewClosing() OVERRIDE;
77 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; 75 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
(...skipping 26 matching lines...) Expand all
104 content::NotificationRegistrar registrar_; 102 content::NotificationRegistrar registrar_;
105 ChromeSigninDelegate signin_delegate_; 103 ChromeSigninDelegate signin_delegate_;
106 #if defined(USE_ASH) 104 #if defined(USE_ASH)
107 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_; 105 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_;
108 #endif 106 #endif
109 107
110 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); 108 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate);
111 }; 109 };
112 110
113 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 111 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/app_list.cc ('k') | chrome/browser/ui/app_list/app_list_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698