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

Side by Side Diff: ui/events/blink/did_overscroll_params.h

Issue 2240273002: Move |DidOverscrollParams| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move DidOverscrollParams to ui:: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_ 5 #ifndef UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
6 #define CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_ 6 #define UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
7 7
8 #include "content/common/content_export.h"
9 #include "ui/gfx/geometry/point_f.h" 8 #include "ui/gfx/geometry/point_f.h"
10 #include "ui/gfx/geometry/vector2d_f.h" 9 #include "ui/gfx/geometry/vector2d_f.h"
11 10
12 namespace content { 11 namespace ui {
13 12
14 struct CONTENT_EXPORT DidOverscrollParams { 13 struct DidOverscrollParams {
dtapuska 2016/08/15 18:50:47 Do you need a export this at all?
chongz 2016/08/15 19:09:13 I'm not sure but it seems working and no bot is co
ncarter (slow) 2016/08/16 19:26:42 It's not required because ui/events/blink exports
15 DidOverscrollParams(); 14 DidOverscrollParams();
16 ~DidOverscrollParams(); 15 ~DidOverscrollParams();
17 gfx::Vector2dF accumulated_overscroll; 16 gfx::Vector2dF accumulated_overscroll;
18 gfx::Vector2dF latest_overscroll_delta; 17 gfx::Vector2dF latest_overscroll_delta;
19 gfx::Vector2dF current_fling_velocity; 18 gfx::Vector2dF current_fling_velocity;
20 gfx::PointF causal_event_viewport_point; 19 gfx::PointF causal_event_viewport_point;
21 }; 20 };
22 21
23 } // namespace content 22 } // namespace ui
24 23
25 #endif // CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_ 24 #endif // UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698