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

Side by Side Diff: mojo/services/public/cpp/view_manager/view_manager_delegate.h

Issue 341553002: Remove OnRootRemoved from ViewManagerDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
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_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_ 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_ 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_
7 7
8 namespace mojo { 8 namespace mojo {
9 namespace view_manager { 9 namespace view_manager {
10 10
11 class Node; 11 class Node;
12 class ViewManager; 12 class ViewManager;
13 13
14 class ViewManagerDelegate { 14 class ViewManagerDelegate {
15 public: 15 public:
16 virtual void OnRootAdded(ViewManager* view_manager, Node* root) {} 16 virtual void OnRootAdded(ViewManager* view_manager, Node* root) {}
17 virtual void OnRootRemoved(ViewManager* view_manager, Node* root) {}
18 17
19 protected: 18 protected:
20 virtual ~ViewManagerDelegate() {} 19 virtual ~ViewManagerDelegate() {}
21 }; 20 };
22 21
23 } // namespace view_manager 22 } // namespace view_manager
24 } // namespace mojo 23 } // namespace mojo
25 24
26 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_ 25 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698