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

Unified Diff: ash/wm/window_manager_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_cycle_list.cc ('k') | ash/wm/window_modality_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_manager_unittest.cc
diff --git a/ash/wm/window_manager_unittest.cc b/ash/wm/window_manager_unittest.cc
index eb41fd467d650b4c05d839506a1eb5d46c2e619e..6d0c36a1d296dda6eae61704072e1c300218bfff 100644
--- a/ash/wm/window_manager_unittest.cc
+++ b/ash/wm/window_manager_unittest.cc
@@ -30,8 +30,7 @@ namespace {
class TestingCursorClientObserver : public aura::client::CursorClientObserver {
public:
TestingCursorClientObserver()
- : cursor_visibility_(false),
- did_visibility_change_(false) {}
+ : cursor_visibility_(false), did_visibility_change_(false) {}
void reset() { cursor_visibility_ = did_visibility_change_ = false; }
bool is_cursor_visible() const { return cursor_visibility_; }
bool did_visibility_change() const { return did_visibility_change_; }
@@ -58,9 +57,7 @@ base::TimeTicks getTime() {
class CustomEventHandler : public ui::test::TestEventHandler {
public:
CustomEventHandler()
- : key_result_(ui::ER_UNHANDLED),
- mouse_result_(ui::ER_UNHANDLED) {
- }
+ : key_result_(ui::ER_UNHANDLED), mouse_result_(ui::ER_UNHANDLED) {}
~CustomEventHandler() override {}
@@ -114,9 +111,7 @@ class NonFocusableDelegate : public aura::test::TestWindowDelegate {
class HitTestWindowDelegate : public aura::test::TestWindowDelegate {
public:
- HitTestWindowDelegate()
- : hittest_code_(HTNOWHERE) {
- }
+ HitTestWindowDelegate() : hittest_code_(HTNOWHERE) {}
~HitTestWindowDelegate() override {}
void set_hittest_code(int hittest_code) { hittest_code_ = hittest_code; }
@@ -662,8 +657,7 @@ TEST_F(WindowManagerTest, AdditionalFilters) {
std::unique_ptr<CustomEventHandler> f2(new CustomEventHandler);
// Adds them to root window event filter.
- ::wm::CompoundEventFilter* env_filter =
- Shell::GetInstance()->env_filter();
+ ::wm::CompoundEventFilter* env_filter = Shell::GetInstance()->env_filter();
env_filter->AddHandler(f1.get());
env_filter->AddHandler(f2.get());
« no previous file with comments | « ash/wm/window_cycle_list.cc ('k') | ash/wm/window_modality_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698