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

Unified Diff: ash/test/ash_test_base.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/test/ash_test_base.h ('k') | ash/test/ash_test_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index 6baece0302c6e9359b12954709a180e139f0a968..7d6becb9c003f5a6911502b308240049a4b00031 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -91,9 +91,7 @@ class AshEventGeneratorDelegate
/////////////////////////////////////////////////////////////////////////////
AshTestBase::AshTestBase()
- : setup_called_(false),
- teardown_called_(false),
- start_session_(true) {
+ : setup_called_(false), teardown_called_(false), start_session_(true) {
#if defined(USE_X11)
// This is needed for tests which use this base class but are run in browser
// test binaries so don't get the default initialization in the unit test
@@ -126,8 +124,8 @@ void AshTestBase::SetUp() {
// lap with the native mouse cursor.
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
if (!command_line->HasSwitch(switches::kAshHostWindowBounds)) {
- command_line->AppendSwitchASCII(
- switches::kAshHostWindowBounds, "1+1-800x600");
+ command_line->AppendSwitchASCII(switches::kAshHostWindowBounds,
+ "1+1-800x600");
}
#if defined(OS_WIN)
ui::test::SetUsePopupAsRootWindowForTest(true);
@@ -279,8 +277,8 @@ aura::Window* AshTestBase::CreateTestWindowInShellWithDelegateAndType(
}
void AshTestBase::ParentWindowInPrimaryRootWindow(aura::Window* window) {
- aura::client::ParentWindowWithContext(
- window, Shell::GetPrimaryRootWindow(), gfx::Rect());
+ aura::client::ParentWindowWithContext(window, Shell::GetPrimaryRootWindow(),
+ gfx::Rect());
}
void AshTestBase::RunAllPendingInMessageLoop() {
« no previous file with comments | « ash/test/ash_test_base.h ('k') | ash/test/ash_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698