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

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

Issue 2143893002: Purge the App Launcher code from Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment Created 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/apps_grid_view.h" 5 #include "ui/app_list/views/apps_grid_view.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 10 matching lines...) Expand all
21 #include "ui/app_list/app_list_folder_item.h" 21 #include "ui/app_list/app_list_folder_item.h"
22 #include "ui/app_list/app_list_item.h" 22 #include "ui/app_list/app_list_item.h"
23 #include "ui/app_list/app_list_model.h" 23 #include "ui/app_list/app_list_model.h"
24 #include "ui/app_list/app_list_switches.h" 24 #include "ui/app_list/app_list_switches.h"
25 #include "ui/app_list/pagination_model.h" 25 #include "ui/app_list/pagination_model.h"
26 #include "ui/app_list/test/app_list_test_model.h" 26 #include "ui/app_list/test/app_list_test_model.h"
27 #include "ui/app_list/views/app_list_item_view.h" 27 #include "ui/app_list/views/app_list_item_view.h"
28 #include "ui/app_list/views/apps_grid_view_folder_delegate.h" 28 #include "ui/app_list/views/apps_grid_view_folder_delegate.h"
29 #include "ui/app_list/views/test/apps_grid_view_test_api.h" 29 #include "ui/app_list/views/test/apps_grid_view_test_api.h"
30 #include "ui/events/event_utils.h" 30 #include "ui/events/event_utils.h"
31 #include "ui/views/controls/label.h"
31 #include "ui/views/test/views_test_base.h" 32 #include "ui/views/test/views_test_base.h"
32 33
33 namespace app_list { 34 namespace app_list {
34 namespace test { 35 namespace test {
35 36
36 namespace { 37 namespace {
37 38
38 const int kCols = 2; 39 const int kCols = 2;
39 const int kRows = 2; 40 const int kRows = 2;
40 const int kTilesPerPage = kCols * kRows; 41 const int kTilesPerPage = kCols * kRows;
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 AppListItemView* item_view = GetItemViewAt(0); 767 AppListItemView* item_view = GetItemViewAt(0);
767 ASSERT_TRUE(item_view); 768 ASSERT_TRUE(item_view);
768 const views::Label* title_label = item_view->title(); 769 const views::Label* title_label = item_view->title();
769 EXPECT_FALSE(title_label->GetTooltipText( 770 EXPECT_FALSE(title_label->GetTooltipText(
770 title_label->bounds().CenterPoint(), &actual_tooltip)); 771 title_label->bounds().CenterPoint(), &actual_tooltip));
771 EXPECT_EQ(title, base::UTF16ToUTF8(title_label->text())); 772 EXPECT_EQ(title, base::UTF16ToUTF8(title_label->text()));
772 } 773 }
773 774
774 } // namespace test 775 } // namespace test
775 } // namespace app_list 776 } // namespace app_list
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698