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

Side by Side Diff: mojo/services/view_manager/server_view_delegate.h

Issue 732223002: Rebuild aura::Window's property system on top of mojo::View. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: The rest of the sky comments from the previous review. Created 6 years, 1 month 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 namespace gfx { 8 namespace gfx {
9 class Rect; 9 class Rect;
10 } 10 }
(...skipping 22 matching lines...) Expand all
33 const gfx::Rect& new_bounds) = 0; 33 const gfx::Rect& new_bounds) = 0;
34 34
35 virtual void OnViewSurfaceIdChanged(const ServerView* view) = 0; 35 virtual void OnViewSurfaceIdChanged(const ServerView* view) = 0;
36 36
37 virtual void OnViewReordered(const ServerView* view, 37 virtual void OnViewReordered(const ServerView* view,
38 const ServerView* relative, 38 const ServerView* relative,
39 OrderDirection direction) = 0; 39 OrderDirection direction) = 0;
40 40
41 virtual void OnWillChangeViewVisibility(const ServerView* view) = 0; 41 virtual void OnWillChangeViewVisibility(const ServerView* view) = 0;
42 42
43 virtual void OnViewPropertyChanged(const ServerView* view, 43 virtual void OnViewSharedPropertyChanged(
44 const std::string& name, 44 const ServerView* view,
45 const std::vector<uint8_t>* new_data) = 0; 45 const std::string& name,
46 const std::vector<uint8_t>* new_data) = 0;
46 47
47 protected: 48 protected:
48 virtual ~ServerViewDelegate() {} 49 virtual ~ServerViewDelegate() {}
49 }; 50 };
50 51
51 } // namespace service 52 } // namespace service
52 } // namespace mojo 53 } // namespace mojo
53 54
54 #endif // MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ 55 #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/test_change_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698