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

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

Issue 441873004: App list: Infrastructure now supports multiple custom launcher pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 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 | Annotate | Revision Log
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 #include "ui/app_list/test/app_list_test_view_delegate.h" 5 #include "ui/app_list/test/app_list_test_view_delegate.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector>
8 9
9 #include "base/callback.h" 10 #include "base/callback.h"
10 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
11 #include "ui/app_list/app_list_model.h" 12 #include "ui/app_list/app_list_model.h"
12 #include "ui/app_list/app_list_switches.h" 13 #include "ui/app_list/app_list_switches.h"
13 #include "ui/app_list/app_list_view_delegate_observer.h" 14 #include "ui/app_list/app_list_view_delegate_observer.h"
14 #include "ui/app_list/test/app_list_test_model.h" 15 #include "ui/app_list/test/app_list_test_model.h"
15 #include "ui/gfx/image/image_skia.h" 16 #include "ui/gfx/image/image_skia.h"
16 17
17 namespace app_list { 18 namespace app_list {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 90
90 gfx::ImageSkia AppListTestViewDelegate::GetWindowIcon() { 91 gfx::ImageSkia AppListTestViewDelegate::GetWindowIcon() {
91 return gfx::ImageSkia(); 92 return gfx::ImageSkia();
92 } 93 }
93 94
94 #if defined(TOOLKIT_VIEWS) 95 #if defined(TOOLKIT_VIEWS)
95 views::View* AppListTestViewDelegate::CreateStartPageWebView( 96 views::View* AppListTestViewDelegate::CreateStartPageWebView(
96 const gfx::Size& size) { 97 const gfx::Size& size) {
97 return NULL; 98 return NULL;
98 } 99 }
99 views::View* AppListTestViewDelegate::CreateCustomPageWebView( 100 std::vector<views::View*> AppListTestViewDelegate::CreateCustomPageWebViews(
100 const gfx::Size& size) { 101 const gfx::Size& size) {
101 return NULL; 102 return std::vector<views::View*>();
102 } 103 }
103 #endif 104 #endif
104 105
105 bool AppListTestViewDelegate::IsSpeechRecognitionEnabled() { 106 bool AppListTestViewDelegate::IsSpeechRecognitionEnabled() {
106 return false; 107 return false;
107 } 108 }
108 109
109 const AppListViewDelegate::Users& AppListTestViewDelegate::GetUsers() const { 110 const AppListViewDelegate::Users& AppListTestViewDelegate::GetUsers() const {
110 return users_; 111 return users_;
111 } 112 }
(...skipping 12 matching lines...) Expand all
124 observers_.AddObserver(observer); 125 observers_.AddObserver(observer);
125 } 126 }
126 127
127 void AppListTestViewDelegate::RemoveObserver( 128 void AppListTestViewDelegate::RemoveObserver(
128 AppListViewDelegateObserver* observer) { 129 AppListViewDelegateObserver* observer) {
129 observers_.RemoveObserver(observer); 130 observers_.RemoveObserver(observer);
130 } 131 }
131 132
132 } // namespace test 133 } // namespace test
133 } // namespace app_list 134 } // namespace app_list
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698