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

Unified Diff: sky/viewer/internals.cc

Issue 1191013004: Teach the analyzer about dart:sky.internals. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/sdk/lib/internals.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/internals.cc
diff --git a/sky/viewer/internals.cc b/sky/viewer/internals.cc
index 1a322669e01e9219b640378a3df4428520de1994..2e825edf782725a64c2d67d49ba696c564eb3fc6 100644
--- a/sky/viewer/internals.cc
+++ b/sky/viewer/internals.cc
@@ -91,10 +91,13 @@ const uint8_t* Symbolizer(Dart_NativeFunction native_function) {
}
const char kLibraryName[] = "dart:sky.internals";
+
+// When editing this, also update sky/sdk/lib/internals.dart
+// so that the analyzer can see it
const char kLibrarySource[] = R"DART(
String contentAsText() native "contentAsText";
-void notifyTestComplete(String test_result) native "notifyTestComplete";
String renderTreeAsText() native "renderTreeAsText";
+void notifyTestComplete(String test_result) native "notifyTestComplete";
int takeShellProxyHandle() native "takeShellProxyHandle";
int takeServicesProvidedByEmbedder() native "takeServicesProvidedByEmbedder";
int takeServicesProvidedToEmbedder() native "takeServicesProvidedToEmbedder";
« no previous file with comments | « sky/sdk/lib/internals.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698