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

Side by Side Diff: include/views/SkTouchGesture.h

Issue 1707213002: Move SkTDArray to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « include/views/SkOSMenu.h ('k') | include/views/SkWidget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #ifndef SkTouchGesture_DEFINED 8 #ifndef SkTouchGesture_DEFINED
9 #define SkTouchGesture_DEFINED 9 #define SkTouchGesture_DEFINED
10 10
11 #include "SkTDArray.h" 11 #include "../private/SkTDArray.h"
12 #include "SkMatrix.h" 12 #include "SkMatrix.h"
13 13
14 struct SkFlingState { 14 struct SkFlingState {
15 SkFlingState() : fActive(false) {} 15 SkFlingState() : fActive(false) {}
16 16
17 bool isActive() const { return fActive; } 17 bool isActive() const { return fActive; }
18 void stop() { fActive = false; } 18 void stop() { fActive = false; }
19 19
20 void reset(float sx, float sy); 20 void reset(float sx, float sy);
21 bool evaluateMatrix(SkMatrix* matrix); 21 bool evaluateMatrix(SkMatrix* matrix);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 void flushLocalM(); 69 void flushLocalM();
70 int findRec(void* owner) const; 70 int findRec(void* owner) const;
71 void appendNewRec(void* owner, float x, float y); 71 void appendNewRec(void* owner, float x, float y);
72 float computePinch(const Rec&, const Rec&); 72 float computePinch(const Rec&, const Rec&);
73 float limitTotalZoom(float scale) const; 73 float limitTotalZoom(float scale) const;
74 bool handleDblTap(float, float); 74 bool handleDblTap(float, float);
75 }; 75 };
76 76
77 #endif 77 #endif
OLDNEW
« no previous file with comments | « include/views/SkOSMenu.h ('k') | include/views/SkWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698