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

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: rebased 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 | « services/native_viewport/main.cc ('k') | services/native_viewport/ozone/app_delegate_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « services/native_viewport/main.cc ('k') | services/native_viewport/ozone/app_delegate_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698