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

Side by Side Diff: chrome/browser/ui/views/intent_picker_bubble_view_unittest.cc

Issue 2441563002: arc: Create intermediate directories in c/b/c/arc (Closed)
Patch Set: Moved the boot notification to notification/ Created 4 years, 2 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "chrome/browser/ui/views/intent_picker_bubble_view.h" 5 #include "chrome/browser/ui/views/intent_picker_bubble_view.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/browser/chromeos/arc/arc_navigation_throttle.h" 11 #include "chrome/browser/chromeos/arc/ui/arc_navigation_throttle.h"
12 #include "chrome/test/base/browser_with_test_window_test.h" 12 #include "chrome/test/base/browser_with_test_window_test.h"
13 #include "content/public/browser/web_contents.h" 13 #include "content/public/browser/web_contents.h"
14 #include "ui/base/resource/resource_bundle.h" 14 #include "ui/base/resource/resource_bundle.h"
15 #include "ui/gfx/image/image.h" 15 #include "ui/gfx/image/image.h"
16 #include "ui/views/controls/button/button.h" 16 #include "ui/views/controls/button/button.h"
17 #include "ui/views/controls/button/label_button.h" 17 #include "ui/views/controls/button/label_button.h"
18 #include "ui/views/controls/scroll_view.h" 18 #include "ui/views/controls/scroll_view.h"
19 #include "ui/views/resources/grit/views_resources.h" 19 #include "ui/views/resources/grit/views_resources.h"
20 #include "url/gurl.h" 20 #include "url/gurl.h"
21 21
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 app->GetImage(views::Button::ButtonState::STATE_NORMAL).isNull()) << i; 96 app->GetImage(views::Button::ButtonState::STATE_NORMAL).isNull()) << i;
97 } 97 }
98 } 98 }
99 99
100 // Verifies that the bubble contains as many rows as the input. Populated the 100 // Verifies that the bubble contains as many rows as the input. Populated the
101 // bubble with an arbitrary image in every row. 101 // bubble with an arbitrary image in every row.
102 TEST_F(IntentPickerBubbleViewTest, LabelsPtrVectorSize) { 102 TEST_F(IntentPickerBubbleViewTest, LabelsPtrVectorSize) {
103 CreateBubbleView(true); 103 CreateBubbleView(true);
104 EXPECT_EQ(app_info_.size(), bubble_->app_info_.size()); 104 EXPECT_EQ(app_info_.size(), bubble_->app_info_.size());
105 } 105 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698