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

Unified Diff: ash/wm/window_modality_controller_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/wm/window_manager_unittest.cc ('k') | ash/wm/window_positioner_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_modality_controller_unittest.cc
diff --git a/ash/wm/window_modality_controller_unittest.cc b/ash/wm/window_modality_controller_unittest.cc
index 57a4bb6c4597773d192de822039d1c8e483d0e3f..22b66f1d98d4c74ddedc24fb57e1d56f57fc9004 100644
--- a/ash/wm/window_modality_controller_unittest.cc
+++ b/ash/wm/window_modality_controller_unittest.cc
@@ -65,14 +65,14 @@ TEST_F(WindowModalityControllerTest, BasicActivation) {
wm::ActivateWindow(w11.get());
EXPECT_TRUE(wm::IsActiveWindow(w11.get()));
- int check1[] = { -1, -12, -11 };
+ int check1[] = {-1, -12, -11};
EXPECT_TRUE(ValidateStacking(w1->parent(), check1, arraysize(check1)));
wm::ActivateWindow(w1.get());
EXPECT_TRUE(wm::IsActiveWindow(w12.get()));
// Transient children are always stacked above their transient parent, which
// is why this order is not -11, -1, -12.
- int check2[] = { -1, -11, -12 };
+ int check2[] = {-1, -11, -12};
EXPECT_TRUE(ValidateStacking(w1->parent(), check2, arraysize(check2)));
w12.reset();
@@ -112,7 +112,7 @@ TEST_F(WindowModalityControllerTest, NestedModals) {
wm::ActivateWindow(w1.get());
EXPECT_TRUE(wm::IsActiveWindow(w111.get()));
- int check1[] = { -2, -1, -11, -111 };
+ int check1[] = {-2, -1, -11, -111};
EXPECT_TRUE(ValidateStacking(w1->parent(), check1, arraysize(check1)));
wm::ActivateWindow(w11.get());
@@ -125,7 +125,7 @@ TEST_F(WindowModalityControllerTest, NestedModals) {
wm::ActivateWindow(w2.get());
EXPECT_TRUE(wm::IsActiveWindow(w2.get()));
- int check2[] = { -1, -11, -111, -2 };
+ int check2[] = {-1, -11, -111, -2};
EXPECT_TRUE(ValidateStacking(w1->parent(), check2, arraysize(check2)));
w2.reset();
@@ -379,9 +379,7 @@ TEST_F(WindowModalityControllerTest, ReleaseCapture) {
class TouchTrackerWindowDelegate : public aura::test::TestWindowDelegate {
public:
TouchTrackerWindowDelegate()
- : received_touch_(false),
- last_event_type_(ui::ET_UNKNOWN) {
- }
+ : received_touch_(false), last_event_type_(ui::ET_UNKNOWN) {}
~TouchTrackerWindowDelegate() override {}
void reset() {
« no previous file with comments | « ash/wm/window_manager_unittest.cc ('k') | ash/wm/window_positioner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698