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

Side by Side Diff: include/xml/SkJS.h

Issue 722343002: Cleanup the XML directory in public includes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix ios the right way 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 | « gyp/xml.gyp ('k') | src/ports/SkXMLParser_empty.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 /*
3 * Copyright 2006 The Android Open Source Project
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
9
10 #include "SkTypes.h"
11 #include "SkWindow.h"
12
13 extern "C" {
14 typedef long JSWord;
15 typedef JSWord jsword;
16 typedef jsword jsval;
17 typedef struct JSRuntime JSRuntime;
18 typedef struct JSContext JSContext;
19 typedef struct JSObject JSObject;
20 }
21
22 class SkString;
23
24 class SkJS : public SkOSWindow {
25 public:
26 SkJS(void* hwnd);
27 ~SkJS();
28 SkBool EvaluateScript(const char* script, jsval* rVal);
29 SkBool ValueToString(jsval value, SkString* string);
30 #ifdef SK_DEBUG
31 static void Test(void* hwnd);
32 #endif
33 protected:
34 void InitializeDisplayables(const SkBitmap& , JSContext *, JSObject *, JSObj ect *);
35 void DisposeDisplayables();
36 JSRuntime *fRuntime;
37 JSContext *fContext;
38 JSObject *fGlobal;
39 };
OLDNEW
« no previous file with comments | « gyp/xml.gyp ('k') | src/ports/SkXMLParser_empty.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698