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

Unified Diff: services/native_viewport/ozone/app_delegate_ozone.h

Issue 1309273005: native_viewport support for ozone (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: minor mojom docs update 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
Index: services/native_viewport/ozone/app_delegate_ozone.h
diff --git a/services/native_viewport/ozone/app_delegate_ozone.h b/services/native_viewport/ozone/app_delegate_ozone.h
new file mode 100644
index 0000000000000000000000000000000000000000..825f22aa793476a52d544906e51f8dff16de1b46
--- /dev/null
+++ b/services/native_viewport/ozone/app_delegate_ozone.h
@@ -0,0 +1,26 @@
+// 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 SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_OZONE_H_
+#define SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_OZONE_H_
+
+#include "services/native_viewport/app_delegate.h"
+#include "services/native_viewport/ozone/display_manager.h"
+
+namespace native_viewport {
+
+class NativeViewportOzoneAppDelegate : public NativeViewportAppDelegate {
+ public:
+ using NativeViewportAppDelegate::Create;
+
+ void Initialize(mojo::ApplicationImpl* application) override;
+ bool ConfigureIncomingConnection(ApplicationConnection* connection) override;
+
+ private:
+ std::unique_ptr<DisplayManager> display_manager_;
+};
+
+} // namespace native_viewport
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698