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

Unified Diff: ui/ozone/demo/renderer.h

Issue 1285183008: Ozone integration. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add missing license header Created 5 years, 4 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 | « ui/ozone/demo/ozone_demo.cc ('k') | ui/ozone/demo/renderer_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/demo/renderer.h
diff --git a/ui/events/platform/platform_event_source_stub.cc b/ui/ozone/demo/renderer.h
similarity index 51%
copy from ui/events/platform/platform_event_source_stub.cc
copy to ui/ozone/demo/renderer.h
index 6e3b2cf8c64132b700a411151dfaf78a234b842a..30d86af94afb9b03a9a355d18eecebd77e69ca42 100644
--- a/ui/events/platform/platform_event_source_stub.cc
+++ b/ui/ozone/demo/renderer.h
@@ -2,12 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/events/platform/platform_event_source.h"
+#ifndef UI_OZONE_DEMO_RENDERER_H_
+#define UI_OZONE_DEMO_RENDERER_H_
namespace ui {
-scoped_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() {
- return nullptr;
-}
+class Renderer {
+ public:
+ virtual ~Renderer() {}
+
+ virtual bool Initialize() = 0;
+};
} // namespace ui
+
+#endif // UI_OZONE_DEMO_RENDERER_H_
« no previous file with comments | « ui/ozone/demo/ozone_demo.cc ('k') | ui/ozone/demo/renderer_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698