OLD | NEW |
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 | 8 |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 gfx::ImageSkia AppListTestViewDelegate::GetWindowIcon() { | 90 gfx::ImageSkia AppListTestViewDelegate::GetWindowIcon() { |
91 return gfx::ImageSkia(); | 91 return gfx::ImageSkia(); |
92 } | 92 } |
93 | 93 |
94 #if defined(TOOLKIT_VIEWS) | 94 #if defined(TOOLKIT_VIEWS) |
95 views::View* AppListTestViewDelegate::CreateStartPageWebView( | 95 views::View* AppListTestViewDelegate::CreateStartPageWebView( |
96 const gfx::Size& size) { | 96 const gfx::Size& size) { |
97 return NULL; | 97 return NULL; |
98 } | 98 } |
| 99 views::View* AppListTestViewDelegate::CreateCustomPageWebView( |
| 100 const gfx::Size& size) { |
| 101 return NULL; |
| 102 } |
99 #endif | 103 #endif |
100 | 104 |
101 bool AppListTestViewDelegate::IsSpeechRecognitionEnabled() { | 105 bool AppListTestViewDelegate::IsSpeechRecognitionEnabled() { |
102 return false; | 106 return false; |
103 } | 107 } |
104 | 108 |
105 const AppListViewDelegate::Users& AppListTestViewDelegate::GetUsers() const { | 109 const AppListViewDelegate::Users& AppListTestViewDelegate::GetUsers() const { |
106 return users_; | 110 return users_; |
107 } | 111 } |
108 | 112 |
(...skipping 11 matching lines...) Expand all Loading... |
120 observers_.AddObserver(observer); | 124 observers_.AddObserver(observer); |
121 } | 125 } |
122 | 126 |
123 void AppListTestViewDelegate::RemoveObserver( | 127 void AppListTestViewDelegate::RemoveObserver( |
124 AppListViewDelegateObserver* observer) { | 128 AppListViewDelegateObserver* observer) { |
125 observers_.RemoveObserver(observer); | 129 observers_.RemoveObserver(observer); |
126 } | 130 } |
127 | 131 |
128 } // namespace test | 132 } // namespace test |
129 } // namespace app_list | 133 } // namespace app_list |
OLD | NEW |