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

Side by Side Diff: tools/viewer/sk_app/android/Window_android.h

Issue 2169543002: Use Windowing system-specific WindowContext factories. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: more xlib 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 /* 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 Window_android_DEFINED 8 #ifndef Window_android_DEFINED
9 #define Window_android_DEFINED 9 #define Window_android_DEFINED
10 10
11 #include "../Window.h" 11 #include "../Window.h"
12 #include "WindowContext_android.h"
13 #include "surface_glue_android.h" 12 #include "surface_glue_android.h"
14 13
15 namespace sk_app { 14 namespace sk_app {
16 15
17 class Window_android : public Window { 16 class Window_android : public Window {
18 public: 17 public:
19 Window_android() : Window() {} 18 Window_android() : Window() {}
20 ~Window_android() override {} 19 ~Window_android() override {}
21 20
22 bool init(SkiaAndroidApp* skiaAndroidApp); 21 bool init(SkiaAndroidApp* skiaAndroidApp);
(...skipping 18 matching lines...) Expand all
41 private: 40 private:
42 SkiaAndroidApp* fSkiaAndroidApp = nullptr; 41 SkiaAndroidApp* fSkiaAndroidApp = nullptr;
43 SkRect fContentRect; 42 SkRect fContentRect;
44 DisplayParams fDisplayParams; 43 DisplayParams fDisplayParams;
45 BackendType fBackendType; 44 BackendType fBackendType;
46 }; 45 };
47 46
48 } // namespace sk_app 47 } // namespace sk_app
49 48
50 #endif 49 #endif
OLDNEW
« no previous file with comments | « tools/viewer/sk_app/android/WindowContext_android.h ('k') | tools/viewer/sk_app/android/Window_android.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698