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

Unified Diff: sky/viewer/runtime_flags.h

Issue 854303002: Sky should use an SkPicture when drawing (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fixes Created 5 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 side-by-side diff with in-line comments
Download patch
Index: sky/viewer/runtime_flags.h
diff --git a/sky/viewer/runtime_flags.h b/sky/viewer/runtime_flags.h
new file mode 100644
index 0000000000000000000000000000000000000000..55a5f3d6333e9ba8796ff2d41094dee11e319473
--- /dev/null
+++ b/sky/viewer/runtime_flags.h
@@ -0,0 +1,27 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SKY_VIEWER_RUNTIME_FLAGS_H_
+#define SKY_VIEWER_RUNTIME_FLAGS_H_
+
+namespace mojo {
+class ApplicationImpl;
+}
+
+namespace sky {
+
+class RuntimeFlags {
+ public:
+ static void Initialize(mojo::ApplicationImpl* app);
+ static const RuntimeFlags& Get();
+
+ bool testing() const { return testing_; }
+
+ private:
+ bool testing_;
+};
+
+} // namespace sky
+
+#endif // SKY_VIEWER_RUNTIME_FLAGS_H_

Powered by Google App Engine
This is Rietveld 408576698