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

Side by Side Diff: mojo/services/view_manager/server_view_delegate.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_
7 7
8 #include "mojo/services/view_manager/view_manager_export.h" 8 #include "mojo/services/view_manager/view_manager_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 16 matching lines...) Expand all
27 const ServerView* old_parent) = 0; 27 const ServerView* old_parent) = 0;
28 28
29 virtual void OnViewHierarchyChanged(const ServerView* view, 29 virtual void OnViewHierarchyChanged(const ServerView* view,
30 const ServerView* new_parent, 30 const ServerView* new_parent,
31 const ServerView* old_parent) = 0; 31 const ServerView* old_parent) = 0;
32 32
33 virtual void OnViewBoundsChanged(const ServerView* view, 33 virtual void OnViewBoundsChanged(const ServerView* view,
34 const gfx::Rect& old_bounds, 34 const gfx::Rect& old_bounds,
35 const gfx::Rect& new_bounds) = 0; 35 const gfx::Rect& new_bounds) = 0;
36 36
37 virtual void OnViewBitmapChanged(const ServerView* view) = 0; 37 virtual void OnViewSurfaceIdChanged(const ServerView* view) = 0;
38 38
39 virtual void OnWillChangeViewVisibility(const ServerView* view) = 0; 39 virtual void OnWillChangeViewVisibility(const ServerView* view) = 0;
40 40
41 protected: 41 protected:
42 virtual ~ServerViewDelegate() {} 42 virtual ~ServerViewDelegate() {}
43 }; 43 };
44 44
45 } // namespace service 45 } // namespace service
46 } // namespace mojo 46 } // namespace mojo
47 47
48 #endif // MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ 48 #endif // MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/server_view.cc ('k') | mojo/services/view_manager/view_manager_init_service_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698