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

Side by Side Diff: webkit/glue/touch_fling_gesture_curve.cc

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "webkit/glue/touch_fling_gesture_curve.h" 5 #include "webkit/glue/touch_fling_gesture_curve.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" 11 #include "third_party/WebKit/public/platform/WebFloatPoint.h"
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatSize.h" 12 #include "third_party/WebKit/public/platform/WebFloatSize.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebGestureCurve.h" 13 #include "third_party/WebKit/public/platform/WebGestureCurve.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebGestureCurveTarg et.h" 14 #include "third_party/WebKit/public/platform/WebGestureCurveTarget.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" 15 #include "third_party/WebKit/public/platform/WebSize.h"
16 16
17 using WebKit::WebFloatPoint; 17 using WebKit::WebFloatPoint;
18 using WebKit::WebFloatSize; 18 using WebKit::WebFloatSize;
19 using WebKit::WebGestureCurve; 19 using WebKit::WebGestureCurve;
20 using WebKit::WebGestureCurveTarget; 20 using WebKit::WebGestureCurveTarget;
21 using WebKit::WebSize; 21 using WebKit::WebSize;
22 22
23 namespace { 23 namespace {
24 24
25 const char* kCurveName = "TouchFlingGestureCurve"; 25 const char* kCurveName = "TouchFlingGestureCurve";
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // scrollBy() could delete this curve if the animation is over, so don't 154 // scrollBy() could delete this curve if the animation is over, so don't
155 // touch any member variables after making that call. 155 // touch any member variables after making that call.
156 target->scrollBy(scroll_increment); 156 target->scrollBy(scroll_increment);
157 return true; 157 return true;
158 } 158 }
159 159
160 return false; 160 return false;
161 } 161 }
162 162
163 } // namespace webkit_glue 163 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/touch_fling_gesture_curve.h ('k') | webkit/glue/touch_fling_gesture_curve_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698