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

Side by Side Diff: platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp

Issue 721903002: Cleanup public includes directory. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: &^%%$# Created 6 years, 1 month 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 | « platform_tools/android/app/jni/AndroidKeyToSkKey.h ('k') | src/core/SkWriteBuffer.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 /* 2 /*
3 * Copyright 2011 Skia 3 * Copyright 2011 Skia
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 #include "com_skia_SkiaSampleRenderer.h" 8 #include "com_skia_SkiaSampleRenderer.h"
9 9
10 #include "SampleApp.h" 10 #include "SampleApp.h"
11 #include "SkApplication.h" 11 #include "SkApplication.h"
12 #include "SkCanvas.h" 12 #include "SkCanvas.h"
13 #include "SkDevice.h" 13 #include "SkDevice.h"
14 #include "SkEvent.h" 14 #include "SkEvent.h"
15 #include "SkWindow.h" 15 #include "SkWindow.h"
16 16
17 #include <jni.h> 17 #include <jni.h>
18 #include "android/AndroidKeyToSkKey.h" 18 #include "AndroidKeyToSkKey.h"
19 19
20 20
21 /////////////////////////////////////////// 21 ///////////////////////////////////////////
22 ///////////////// Globals ///////////////// 22 ///////////////// Globals /////////////////
23 /////////////////////////////////////////// 23 ///////////////////////////////////////////
24 24
25 struct ActivityGlue { 25 struct ActivityGlue {
26 JNIEnv* m_env; 26 JNIEnv* m_env;
27 jweak m_obj; 27 jweak m_obj;
28 jmethodID m_setTitle; 28 jmethodID m_setTitle;
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 JNIEnv* env, jobject thiz) 345 JNIEnv* env, jobject thiz)
346 { 346 {
347 gWindow->saveToPdf(); 347 gWindow->saveToPdf();
348 } 348 }
349 349
350 JNIEXPORT void JNICALL Java_com_skia_SkiaSampleRenderer_postInval( 350 JNIEXPORT void JNICALL Java_com_skia_SkiaSampleRenderer_postInval(
351 JNIEnv* env, jobject thiz) 351 JNIEnv* env, jobject thiz)
352 { 352 {
353 gWindow->postInvalDelay(); 353 gWindow->postInvalDelay();
354 } 354 }
OLDNEW
« no previous file with comments | « platform_tools/android/app/jni/AndroidKeyToSkKey.h ('k') | src/core/SkWriteBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698