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

Unified Diff: ash/display/mirror_window_controller.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/display/mirror_window_controller.h ('k') | ash/display/mirror_window_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mirror_window_controller.cc
diff --git a/ash/display/mirror_window_controller.cc b/ash/display/mirror_window_controller.cc
index 5275755f771462e83ea150cef48ea86830f075a4..1bdbc1b69a15a6a385e2a6700da6a8b4a9ba0197 100644
--- a/ash/display/mirror_window_controller.cc
+++ b/ash/display/mirror_window_controller.cc
@@ -49,8 +49,8 @@ namespace {
#if defined(USE_X11)
// Mirror window shouldn't handle input events.
void DisableInput(XID window) {
- long event_mask = ExposureMask | VisibilityChangeMask |
- StructureNotifyMask | PropertyChangeMask;
+ long event_mask = ExposureMask | VisibilityChangeMask | StructureNotifyMask |
+ PropertyChangeMask;
XSelectInput(gfx::GetXDisplay(), window, event_mask);
unsigned char mask[XIMaskLen(XI_LASTEVENT)] = {0};
XIEventMask evmask;
@@ -145,15 +145,12 @@ struct MirrorWindowController::MirroringHostInfo {
aura::Window* mirror_window = nullptr;
};
-MirrorWindowController::MirroringHostInfo::MirroringHostInfo() {
-}
-MirrorWindowController::MirroringHostInfo::~MirroringHostInfo() {
-}
+MirrorWindowController::MirroringHostInfo::MirroringHostInfo() {}
+MirrorWindowController::MirroringHostInfo::~MirroringHostInfo() {}
MirrorWindowController::MirrorWindowController()
: multi_display_mode_(DisplayManager::EXTENDED),
- screen_position_client_(new MirroringScreenPositionClient(this)) {
-}
+ screen_position_client_(new MirroringScreenPositionClient(this)) {}
MirrorWindowController::~MirrorWindowController() {
// Make sure the root window gets deleted before cursor_window_delegate.
« no previous file with comments | « ash/display/mirror_window_controller.h ('k') | ash/display/mirror_window_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698