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

Unified Diff: ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.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
Index: ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc
diff --git a/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc b/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc
index d8e847c1de72d606da7a3806f8cc263beed81e23..b57c28d67c2f42543570b7809491ce05ce3097ae 100644
--- a/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc
+++ b/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc
@@ -72,7 +72,6 @@ ScopedDisableInternalMouseAndKeyboardX11::
keyboard_device_id_(kDeviceIdNone),
core_keyboard_device_id_(kDeviceIdNone),
last_mouse_location_(GetMouseLocationInScreen()) {
-
ui::DeviceDataManagerX11* device_data_manager =
ui::DeviceDataManagerX11::GetInstance();
if (device_data_manager->IsXInput2Available()) {
@@ -136,15 +135,13 @@ ScopedDisableInternalMouseAndKeyboardX11::
}
void ScopedDisableInternalMouseAndKeyboardX11::WillProcessEvent(
- const ui::PlatformEvent& event) {
-}
+ const ui::PlatformEvent& event) {}
void ScopedDisableInternalMouseAndKeyboardX11::DidProcessEvent(
const ui::PlatformEvent& event) {
if (event->type != GenericEvent)
return;
- XIDeviceEvent* xievent =
- static_cast<XIDeviceEvent*>(event->xcookie.data);
+ XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(event->xcookie.data);
ui::DeviceDataManagerX11* device_data_manager =
static_cast<ui::DeviceDataManagerX11*>(
ui::DeviceDataManager::GetInstance());

Powered by Google App Engine
This is Rietveld 408576698