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

Unified Diff: mojo/services/view_manager/connection_manager.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
« no previous file with comments | « mojo/services/view_manager/access_policy.h ('k') | mojo/services/view_manager/connection_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/connection_manager.h
diff --git a/mojo/services/view_manager/connection_manager.h b/mojo/services/view_manager/connection_manager.h
index a482db4a353ce40e69b40af5b14229fc39233007..6300ca1e9ec3eb2e44c5c0a02c3994297de6c0b2 100644
--- a/mojo/services/view_manager/connection_manager.h
+++ b/mojo/services/view_manager/connection_manager.h
@@ -26,7 +26,6 @@ class ApplicationConnection;
namespace service {
-class DisplayManagerDelegate;
class ViewManagerServiceImpl;
// ConnectionManager manages the set of connections to the ViewManager (all the
@@ -67,7 +66,6 @@ class MOJO_VIEW_MANAGER_EXPORT ConnectionManager : public ServerViewDelegate {
};
ConnectionManager(ApplicationConnection* app_connection,
- DisplayManagerDelegate* display_manager_delegate,
const Callback<void()>& native_viewport_closed_callback);
virtual ~ConnectionManager();
@@ -137,12 +135,6 @@ class MOJO_VIEW_MANAGER_EXPORT ConnectionManager : public ServerViewDelegate {
void ProcessViewDeleted(const ViewId& view);
private:
- // Used to setup any static state needed by ConnectionManager.
- struct Context {
- Context();
- ~Context();
- };
-
typedef std::map<ConnectionSpecificId, ViewManagerServiceImpl*> ConnectionMap;
// Invoked when a connection is about to make a change. Subsequently followed
@@ -179,11 +171,9 @@ class MOJO_VIEW_MANAGER_EXPORT ConnectionManager : public ServerViewDelegate {
virtual void OnViewBoundsChanged(const ServerView* view,
const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds) OVERRIDE;
- virtual void OnViewBitmapChanged(const ServerView* view) OVERRIDE;
+ virtual void OnViewSurfaceIdChanged(const ServerView* view) OVERRIDE;
virtual void OnWillChangeViewVisibility(const ServerView* view) OVERRIDE;
- Context context_;
-
ApplicationConnection* app_connection_;
// ID to use for next ViewManagerServiceImpl.
« no previous file with comments | « mojo/services/view_manager/access_policy.h ('k') | mojo/services/view_manager/connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698