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

Unified Diff: content/browser/renderer_host/touch_smooth_scroll_gesture_aura.h

Issue 62443007: Replace old with new synthetic gesture framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forward declare SyntheticGestureController. Created 7 years, 1 month 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: content/browser/renderer_host/touch_smooth_scroll_gesture_aura.h
diff --git a/content/browser/renderer_host/touch_smooth_scroll_gesture_aura.h b/content/browser/renderer_host/touch_smooth_scroll_gesture_aura.h
deleted file mode 100644
index 890b1467d682313ec452fc999ad3a39eca549c58..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/touch_smooth_scroll_gesture_aura.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_RENDERER_HOST_TOUCH_SMOOTH_SCROLL_GESTURE_
-#define CONTENT_BROWSER_RENDERER_HOST_TOUCH_SMOOTH_SCROLL_GESTURE_
-
-#include "base/time/time.h"
-#include "content/browser/renderer_host/synthetic_gesture_calculator.h"
-#include "content/port/browser/synthetic_gesture.h"
-#include "ui/gfx/point.h"
-
-namespace aura {
-class Window;
-}
-
-namespace content {
-
-class TouchSmoothScrollGestureAura : public SyntheticGesture {
- public:
- TouchSmoothScrollGestureAura(bool scroll_down,
- int pixels_to_scroll,
- int mouse_event_x,
- int mouse_event_y,
- aura::Window* window);
- private:
- virtual ~TouchSmoothScrollGestureAura();
-
- // Overridden from SmoothScrollGesture.
- virtual bool ForwardInputEvents(base::TimeTicks now,
- RenderWidgetHost* host) OVERRIDE;
-
- bool scroll_down_;
- int pixels_to_scroll_;
- int pixels_scrolled_;
- gfx::Point location_;
- aura::Window* window_;
- SyntheticGestureCalculator synthetic_gesture_calculator_;
-
- DISALLOW_COPY_AND_ASSIGN(TouchSmoothScrollGestureAura);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_TOUCH_SMOOTH_SCROLL_GESTURE_

Powered by Google App Engine
This is Rietveld 408576698