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

Side by Side Diff: ui/app_list/test/app_list_test_view_delegate.h

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove junk from list_model.h Created 7 years, 4 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
OLDNEW
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 "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/app_list/app_list_view_delegate.h" 10 #include "ui/app_list/app_list_view_delegate.h"
(...skipping 26 matching lines...) Expand all
37 virtual void StopSearch() OVERRIDE {} 37 virtual void StopSearch() OVERRIDE {}
38 virtual void OpenSearchResult(SearchResult* result, 38 virtual void OpenSearchResult(SearchResult* result,
39 int event_flags) OVERRIDE {} 39 int event_flags) OVERRIDE {}
40 virtual void InvokeSearchResultAction(SearchResult* result, 40 virtual void InvokeSearchResultAction(SearchResult* result,
41 int action_index, 41 int action_index,
42 int event_flags) OVERRIDE {} 42 int event_flags) OVERRIDE {}
43 virtual void Dismiss() OVERRIDE; 43 virtual void Dismiss() OVERRIDE;
44 virtual void ViewClosing() OVERRIDE {} 44 virtual void ViewClosing() OVERRIDE {}
45 virtual void ViewActivationChanged(bool active) OVERRIDE {} 45 virtual void ViewActivationChanged(bool active) OVERRIDE {}
46 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; 46 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
47 virtual base::string16 GetCurrentUserName() OVERRIDE;
48 virtual base::string16 GetCurrentUserEmail() OVERRIDE;
49 virtual void OpenSettings() OVERRIDE {} 47 virtual void OpenSettings() OVERRIDE {}
50 virtual void OpenHelp() OVERRIDE {} 48 virtual void OpenHelp() OVERRIDE {}
51 virtual void OpenFeedback() OVERRIDE {} 49 virtual void OpenFeedback() OVERRIDE {}
52 50
53 private: 51 private:
54 int activate_count_; 52 int activate_count_;
55 int dismiss_count_; 53 int dismiss_count_;
56 AppListItemModel* last_activated_; 54 AppListItemModel* last_activated_;
57 SigninDelegate* test_signin_delegate_; // Weak. Owned by test. 55 SigninDelegate* test_signin_delegate_; // Weak. Owned by test.
58 }; 56 };
59 57
60 } // namespace test 58 } // namespace test
61 } // namespace app_list 59 } // namespace app_list
62 60
63 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ 61 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698