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

Unified Diff: ash/popup_message_unittest.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/popup_message.cc ('k') | ash/root_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/popup_message_unittest.cc
diff --git a/ash/popup_message_unittest.cc b/ash/popup_message_unittest.cc
index 369d863a058ab15cdfc0cfb2c7f2e93e6d98108c..90559c0e3888bd6eb820f92bd3f8d08b8d6a2ff8 100644
--- a/ash/popup_message_unittest.cc
+++ b/ash/popup_message_unittest.cc
@@ -18,13 +18,12 @@ using PopupMessageTest = test::AshTestBase;
TEST_F(PopupMessageTest, Layout) {
views::Widget* widget = views::Widget::CreateWindowWithContextAndBounds(
nullptr, CurrentContext(), gfx::Rect(0, 0, 100, 100));
- PopupMessage message(base::ASCIIToUTF16("caption text"),
- base::ASCIIToUTF16(
- "Message text, which will be usually longer than "
- "the caption, so that it's wrapped at some width"),
- PopupMessage::ICON_WARNING,
- widget->GetContentsView() /* anchor */,
- views::BubbleBorder::TOP_LEFT, gfx::Size(), 10);
+ PopupMessage message(
+ base::ASCIIToUTF16("caption text"),
+ base::ASCIIToUTF16("Message text, which will be usually longer than "
+ "the caption, so that it's wrapped at some width"),
+ PopupMessage::ICON_WARNING, widget->GetContentsView() /* anchor */,
+ views::BubbleBorder::TOP_LEFT, gfx::Size(), 10);
views::View* contents_view = message.widget_->GetContentsView();
views::View* caption_label =
« no previous file with comments | « ash/popup_message.cc ('k') | ash/root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698