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

Unified Diff: ash/wm/maximize_mode/workspace_backdrop_delegate.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/workspace_backdrop_delegate.cc
diff --git a/ash/wm/maximize_mode/workspace_backdrop_delegate.cc b/ash/wm/maximize_mode/workspace_backdrop_delegate.cc
index 77f44dfe59626e40c7372c53c7430b6d670b06c4..30e1949a41f6e66e7765b04f4bdd6e49ea30b19e 100644
--- a/ash/wm/maximize_mode/workspace_backdrop_delegate.cc
+++ b/ash/wm/maximize_mode/workspace_backdrop_delegate.cc
@@ -63,9 +63,8 @@ WorkspaceBackdropDelegate::WorkspaceBackdropDelegate(aura::Window* container)
background_->Init(params);
// Do not use the animation system. We don't want the bounds animation and
// opacity needs to get set to |kBackdropOpacity|.
- ::wm::SetWindowVisibilityAnimationTransition(
- background_->GetNativeView(),
- ::wm::ANIMATE_NONE);
+ ::wm::SetWindowVisibilityAnimationTransition(background_->GetNativeView(),
+ ::wm::ANIMATE_NONE);
background_->GetNativeView()->SetName("WorkspaceBackdropDelegate");
background_->GetNativeView()->layer()->SetColor(SK_ColorBLACK);
// Make sure that the layer covers visibly everything - including the shelf.
@@ -121,8 +120,7 @@ void WorkspaceBackdropDelegate::RestackBackdrop() {
background_->Hide();
return;
}
- if (window == background_->GetNativeWindow() &&
- background_->IsVisible()) {
+ if (window == background_->GetNativeWindow() && background_->IsVisible()) {
return;
}
if (window->GetRootWindow() !=
« no previous file with comments | « ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc ('k') | ash/wm/overlay_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698