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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/AwPicture.java

Issue 141533006: [Android] Move the java content/ package to content_public/ to start the split. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small fixes and findbugs line update Created 6 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 package org.chromium.android_webview; 5 package org.chromium.android_webview;
6 6
7 import android.graphics.Canvas; 7 import android.graphics.Canvas;
8 import android.graphics.Picture; 8 import android.graphics.Picture;
9 import android.graphics.Rect; 9 import android.graphics.Rect;
10 10
11 import org.chromium.base.JNINamespace; 11 import org.chromium.base.JNINamespace;
12 import org.chromium.content.common.CleanupReference; 12 import org.chromium.content_public.common.CleanupReference;
13 13
14 import java.io.OutputStream; 14 import java.io.OutputStream;
15 15
16 // A simple wrapper around a SkPicture, that allows final rendering to be perfor med using the 16 // A simple wrapper around a SkPicture, that allows final rendering to be perfor med using the
17 // chromium skia library. 17 // chromium skia library.
18 @JNINamespace("android_webview") 18 @JNINamespace("android_webview")
19 class AwPicture extends Picture { 19 class AwPicture extends Picture {
20 20
21 private long mNativeAwPicture; 21 private long mNativeAwPicture;
22 22
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 throw new IllegalStateException("Unsupported in AwPicture"); 85 throw new IllegalStateException("Unsupported in AwPicture");
86 } 86 }
87 87
88 private static native void nativeDestroy(long nativeAwPicture); 88 private static native void nativeDestroy(long nativeAwPicture);
89 private native int nativeGetWidth(long nativeAwPicture); 89 private native int nativeGetWidth(long nativeAwPicture);
90 private native int nativeGetHeight(long nativeAwPicture); 90 private native int nativeGetHeight(long nativeAwPicture);
91 private native void nativeDraw(long nativeAwPicture, Canvas canvas, 91 private native void nativeDraw(long nativeAwPicture, Canvas canvas,
92 int left, int top, int right, int bottom); 92 int left, int top, int right, int bottom);
93 } 93 }
94 94
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698