| 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_
|
|
|