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

Unified Diff: ash/touch/touch_observer_hud.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/touch/touch_hud_projection.cc ('k') | ash/touch/touch_observer_hud_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_observer_hud.cc
diff --git a/ash/touch/touch_observer_hud.cc b/ash/touch/touch_observer_hud.cc
index fc683b8b14d932f45480aa87dd1b3701ad68fc16..969c1f43a94be735e50b95ee6ec501f647f28165 100644
--- a/ash/touch/touch_observer_hud.cc
+++ b/ash/touch/touch_observer_hud.cc
@@ -30,8 +30,8 @@ TouchObserverHUD::TouchObserverHUD(aura::Window* initial_root)
content->SetSize(display_size);
widget_ = new views::Widget();
- views::Widget::InitParams
- params(views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
+ views::Widget::InitParams params(
+ views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW;
params.activatable = views::Widget::InitParams::ACTIVATABLE_NO;
params.accept_events = false;
@@ -66,8 +66,7 @@ TouchObserverHUD::~TouchObserverHUD() {
widget_->RemoveObserver(this);
}
-void TouchObserverHUD::Clear() {
-}
+void TouchObserverHUD::Clear() {}
void TouchObserverHUD::Remove() {
root_window_->RemovePreTargetHandler(this);
@@ -78,8 +77,7 @@ void TouchObserverHUD::Remove() {
widget_->CloseNow();
}
-void TouchObserverHUD::OnTouchEvent(ui::TouchEvent* /*event*/) {
-}
+void TouchObserverHUD::OnTouchEvent(ui::TouchEvent* /*event*/) {}
void TouchObserverHUD::OnWidgetDestroying(views::Widget* widget) {
DCHECK_EQ(widget, widget_);
« no previous file with comments | « ash/touch/touch_hud_projection.cc ('k') | ash/touch/touch_observer_hud_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698