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

Side by Side Diff: ui/app_list/views/search_result_list_view_unittest.cc

Issue 303543004: MacViews: views_examples_with_content_exe working! Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files Created 6 years, 6 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 | « ui/app_list/views/pulsing_block_view.cc ('k') | ui/app_list/views/views_demo_app.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/views/search_result_list_view.h" 5 #include "ui/app_list/views/search_result_list_view.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "ui/app_list/app_list_model.h" 10 #include "ui/app_list/app_list_model.h"
11 #include "ui/app_list/search_result.h" 11 #include "ui/app_list/search_result.h"
12 #include "ui/app_list/test/app_list_test_view_delegate.h" 12 #include "ui/app_list/test/app_list_test_view_delegate.h"
13 #include "ui/app_list/views/search_result_list_view_delegate.h" 13 #include "ui/app_list/views/search_result_list_view_delegate.h"
14 #include "ui/app_list/views/search_result_view.h" 14 #include "ui/app_list/views/search_result_view.h"
15 #include "ui/events/event.h"
15 #include "ui/views/test/views_test_base.h" 16 #include "ui/views/test/views_test_base.h"
16 17
17 namespace app_list { 18 namespace app_list {
18 namespace test { 19 namespace test {
19 20
20 namespace { 21 namespace {
21 int kDefaultSearchItems = 5; 22 int kDefaultSearchItems = 5;
22 } // namespace 23 } // namespace
23 24
24 class SearchResultListViewTest : public views::ViewsTestBase, 25 class SearchResultListViewTest : public views::ViewsTestBase,
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 AddTestResultAtIndex(kDefaultSearchItems); 205 AddTestResultAtIndex(kDefaultSearchItems);
205 ExpectConsistent(); 206 ExpectConsistent();
206 207
207 // Delete from start. 208 // Delete from start.
208 DeleteResultAt(0); 209 DeleteResultAt(0);
209 ExpectConsistent(); 210 ExpectConsistent();
210 } 211 }
211 212
212 } // namespace test 213 } // namespace test
213 } // namespace app_list 214 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/views/pulsing_block_view.cc ('k') | ui/app_list/views/views_demo_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698