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

Unified Diff: ash/display/shared_display_edge_indicator.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/screen_position_controller_unittest.cc ('k') | ash/display/unified_mouse_warp_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/shared_display_edge_indicator.cc
diff --git a/ash/display/shared_display_edge_indicator.cc b/ash/display/shared_display_edge_indicator.cc
index 30d1ae8f5b500ef1e0b7ca443e1ce1e0cf6fe800..ed00701060f3755aaa135d6eb2a62f154318b554 100644
--- a/ash/display/shared_display_edge_indicator.cc
+++ b/ash/display/shared_display_edge_indicator.cc
@@ -23,8 +23,7 @@ const int kIndicatorAnimationDurationMs = 1000;
class IndicatorView : public views::View {
public:
- IndicatorView() {
- }
+ IndicatorView() {}
~IndicatorView() override {}
void SetColor(SkColor color) {
@@ -69,9 +68,7 @@ views::Widget* CreateWidget(const gfx::Rect& bounds,
} // namespace
SharedDisplayEdgeIndicator::SharedDisplayEdgeIndicator()
- : src_indicator_(NULL),
- dst_indicator_(NULL) {
-}
+ : src_indicator_(NULL), dst_indicator_(NULL) {}
SharedDisplayEdgeIndicator::~SharedDisplayEdgeIndicator() {
Hide();
@@ -107,7 +104,6 @@ void SharedDisplayEdgeIndicator::AnimationProgressed(
static_cast<IndicatorView*>(src_indicator_)->SetColor(color);
if (dst_indicator_)
static_cast<IndicatorView*>(dst_indicator_)->SetColor(color);
-
}
} // namespace ash
« no previous file with comments | « ash/display/screen_position_controller_unittest.cc ('k') | ash/display/unified_mouse_warp_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698