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

Unified Diff: ash/wm/event_client_impl.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/drag_window_resizer.cc ('k') | ash/wm/gestures/overview_gesture_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/event_client_impl.cc
diff --git a/ash/wm/event_client_impl.cc b/ash/wm/event_client_impl.cc
index de3aa14b5128a428d9a7f05046dc4dcf8a2e9008..5bfb13ac5fb8d6874b9043aaedec36f0559a4f93 100644
--- a/ash/wm/event_client_impl.cc
+++ b/ash/wm/event_client_impl.cc
@@ -12,11 +12,9 @@
namespace ash {
-EventClientImpl::EventClientImpl() {
-}
+EventClientImpl::EventClientImpl() {}
-EventClientImpl::~EventClientImpl() {
-}
+EventClientImpl::~EventClientImpl() {}
bool EventClientImpl::CanProcessEventsWithinSubtree(
const aura::Window* window) const {
@@ -29,24 +27,21 @@ bool EventClientImpl::CanProcessEventsWithinSubtree(
}
const aura::Window* lock_screen_containers = Shell::GetContainer(
- root_window,
- kShellWindowId_LockScreenContainersContainer);
+ root_window, kShellWindowId_LockScreenContainersContainer);
const aura::Window* lock_background_containers = Shell::GetContainer(
- root_window,
- kShellWindowId_LockScreenBackgroundContainer);
+ root_window, kShellWindowId_LockScreenBackgroundContainer);
const aura::Window* lock_screen_related_containers = Shell::GetContainer(
- root_window,
- kShellWindowId_LockScreenRelatedContainersContainer);
- bool can_process_events = (window->Contains(lock_screen_containers) &&
- window->Contains(lock_background_containers) &&
- window->Contains(lock_screen_related_containers)) ||
+ root_window, kShellWindowId_LockScreenRelatedContainersContainer);
+ bool can_process_events =
+ (window->Contains(lock_screen_containers) &&
+ window->Contains(lock_background_containers) &&
+ window->Contains(lock_screen_related_containers)) ||
lock_screen_containers->Contains(window) ||
lock_background_containers->Contains(window) ||
lock_screen_related_containers->Contains(window);
if (keyboard::IsKeyboardEnabled()) {
const aura::Window* virtual_keyboard_container = Shell::GetContainer(
- root_window,
- kShellWindowId_VirtualKeyboardContainer);
+ root_window, kShellWindowId_VirtualKeyboardContainer);
can_process_events |= (window->Contains(virtual_keyboard_container) ||
virtual_keyboard_container->Contains(window));
}
« no previous file with comments | « ash/wm/drag_window_resizer.cc ('k') | ash/wm/gestures/overview_gesture_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698