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

Unified Diff: components/native_viewport/native_viewport_application_delegate.h

Issue 1139673003: Make Mandoline shut down cleanly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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: components/native_viewport/native_viewport_application_delegate.h
diff --git a/components/native_viewport/native_viewport_application_delegate.h b/components/native_viewport/native_viewport_application_delegate.h
index 4584ffff05b837f38d86c023d7d7d2019f936fe9..dc65adf40f8f8f94889f048ff4700664c7c3b6be 100644
--- a/components/native_viewport/native_viewport_application_delegate.h
+++ b/components/native_viewport/native_viewport_application_delegate.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "components/gles2/gpu_impl.h"
#include "components/native_viewport/public/interfaces/native_viewport.mojom.h"
+#include "mojo/application/app_lifetime_helper.h"
#include "mojo/application/public/cpp/application_delegate.h"
#include "mojo/application/public/cpp/interface_factory_impl.h"
#include "mojo/common/tracing_impl.h"
@@ -17,6 +18,10 @@ class ApplicationConnection;
class ApplicationImpl;
}
+namespace ui {
+class PlatformEventSource;
+}
+
namespace native_viewport {
class NativeViewportApplicationDelegate
@@ -42,8 +47,10 @@ class NativeViewportApplicationDelegate
mojo::InterfaceRequest<mojo::Gpu> request) override;
scoped_refptr<gles2::GpuState> gpu_state_;
+ scoped_ptr<ui::PlatformEventSource> event_source_;
bool is_headless_;
mojo::TracingImpl tracing_;
+ mojo::AppLifetimeHelper app_lifetime_helper_;
DISALLOW_COPY_AND_ASSIGN(NativeViewportApplicationDelegate);
};
« no previous file with comments | « components/gles2/command_buffer_driver.cc ('k') | components/native_viewport/native_viewport_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698