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

Unified Diff: ash/shelf/shelf_bezel_event_filter.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/shelf/shelf_bezel_event_filter.h ('k') | ash/shelf/shelf_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_bezel_event_filter.cc
diff --git a/ash/shelf/shelf_bezel_event_filter.cc b/ash/shelf/shelf_bezel_event_filter.cc
index 023d5c967a006418c299226eff7fed145c53ea5a..e05239858a45b2b2cdcc4ff78f077a918fe91827 100644
--- a/ash/shelf/shelf_bezel_event_filter.cc
+++ b/ash/shelf/shelf_bezel_event_filter.cc
@@ -13,10 +13,8 @@
namespace ash {
-ShelfBezelEventFilter::ShelfBezelEventFilter(
- ShelfLayoutManager* shelf)
- : shelf_(shelf),
- in_touch_drag_(false) {
+ShelfBezelEventFilter::ShelfBezelEventFilter(ShelfLayoutManager* shelf)
+ : shelf_(shelf), in_touch_drag_(false) {
Shell::GetInstance()->AddPreTargetHandler(this);
}
@@ -24,8 +22,7 @@ ShelfBezelEventFilter::~ShelfBezelEventFilter() {
Shell::GetInstance()->RemovePreTargetHandler(this);
}
-void ShelfBezelEventFilter::OnGestureEvent(
- ui::GestureEvent* event) {
+void ShelfBezelEventFilter::OnGestureEvent(ui::GestureEvent* event) {
gfx::Point point_in_screen(event->location());
aura::Window* target = static_cast<aura::Window*>(event->target());
::wm::ConvertPointToScreen(target, &point_in_screen);
« no previous file with comments | « ash/shelf/shelf_bezel_event_filter.h ('k') | ash/shelf/shelf_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698