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

Unified Diff: mojo/services/surfaces/surfaces_service_application.h

Issue 534843002: Convert view manager to surfaces with uploading shim in client lib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove overzealous shutdown check in cc/surfaces, add NON_EXPORTED_BASE for windows build, saturate… Created 6 years, 3 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: mojo/services/surfaces/surfaces_service_application.h
diff --git a/mojo/services/surfaces/surfaces_service_application.h b/mojo/services/surfaces/surfaces_service_application.h
index 5b33179274c17e65036fdc84bd352711687ff650..27fd6217633cc8793b9189bf1ed65ab3ec70be85 100644
--- a/mojo/services/surfaces/surfaces_service_application.h
+++ b/mojo/services/surfaces/surfaces_service_application.h
@@ -6,6 +6,7 @@
#define MOJO_SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_
#include "base/macros.h"
+#include "base/timer/timer.h"
#include "cc/surfaces/surface_manager.h"
#include "mojo/public/cpp/application/application_delegate.h"
#include "mojo/public/cpp/application/interface_factory.h"
@@ -38,6 +39,8 @@ class SurfacesServiceApplication : public ApplicationDelegate,
cc::SurfaceManager manager_;
uint32_t next_id_namespace_;
cc::Display* display_;
+ // TODO(jamesr): Integrate with real scheduler.
+ base::Timer draw_timer_;
DISALLOW_COPY_AND_ASSIGN(SurfacesServiceApplication);
};

Powered by Google App Engine
This is Rietveld 408576698