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

Side by Side Diff: tools/viewer/Viewer.h

Issue 1944413005: More refactoring for Viewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix up Android Created 4 years, 7 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 | « tools/viewer/Slide.h ('k') | tools/viewer/Viewer.cpp » ('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 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef Viewer_DEFINED 8 #ifndef Viewer_DEFINED
9 #define Viewer_DEFINED 9 #define Viewer_DEFINED
10 10
11 #include "../Application.h" 11 #include "sk_app/Application.h"
12 #include "../Window.h" 12 #include "sk_app/Window.h"
13 #include "gm.h" 13 #include "gm.h"
14 #include "SkAnimTimer.h" 14 #include "SkAnimTimer.h"
15 #include "Slide.h" 15 #include "Slide.h"
16 16
17 class SkCanvas; 17 class SkCanvas;
18 18
19 class Viewer : public sk_app::Application { 19 class Viewer : public sk_app::Application {
20 public: 20 public:
21 Viewer(int argc, char** argv, void* platformData); 21 Viewer(int argc, char** argv, void* platformData);
22 ~Viewer() override; 22 ~Viewer() override;
(...skipping 28 matching lines...) Expand all
51 SkMatrix fLocalMatrix; 51 SkMatrix fLocalMatrix;
52 SkScalar fZoomCenterX; 52 SkScalar fZoomCenterX;
53 SkScalar fZoomCenterY; 53 SkScalar fZoomCenterY;
54 SkScalar fZoomLevel; 54 SkScalar fZoomLevel;
55 SkScalar fZoomScale; 55 SkScalar fZoomScale;
56 56
57 }; 57 };
58 58
59 59
60 #endif 60 #endif
OLDNEW
« no previous file with comments | « tools/viewer/Slide.h ('k') | tools/viewer/Viewer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698