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

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

Issue 22268009: Move signin status and current user information into AppListModel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 25 matching lines...) Expand all
36 virtual void StartSearch() OVERRIDE {} 36 virtual void StartSearch() OVERRIDE {}
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 gfx::ImageSkia GetWindowIcon() OVERRIDE; 45 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
46 virtual base::string16 GetCurrentUserName() OVERRIDE;
47 virtual base::string16 GetCurrentUserEmail() OVERRIDE;
48 virtual void OpenSettings() OVERRIDE {} 46 virtual void OpenSettings() OVERRIDE {}
49 virtual void OpenHelp() OVERRIDE {} 47 virtual void OpenHelp() OVERRIDE {}
50 virtual void OpenFeedback() OVERRIDE {} 48 virtual void OpenFeedback() OVERRIDE {}
51 49
52 private: 50 private:
53 int activate_count_; 51 int activate_count_;
54 int dismiss_count_; 52 int dismiss_count_;
55 AppListItemModel* last_activated_; 53 AppListItemModel* last_activated_;
56 SigninDelegate* test_signin_delegate_; // Weak. Owned by test. 54 SigninDelegate* test_signin_delegate_; // Weak. Owned by test.
57 }; 55 };
58 56
59 } // namespace test 57 } // namespace test
60 } // namespace app_list 58 } // namespace app_list
61 59
62 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ 60 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/app_list/test/app_list_test_model.cc ('k') | ui/app_list/test/app_list_test_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698