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

Unified Diff: mojo/services/public/cpp/view_manager/view_tree_node_observer.h

Issue 338093008: Client side name cleanup (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/public/cpp/view_manager/view_tree_node.h ('k') | mojo/services/view_manager/ids.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/public/cpp/view_manager/view_tree_node_observer.h
diff --git a/mojo/services/public/cpp/view_manager/view_tree_node_observer.h b/mojo/services/public/cpp/view_manager/view_tree_node_observer.h
deleted file mode 100644
index d39f74892d328defc03dc0ad00d6947b6fb51a86..0000000000000000000000000000000000000000
--- a/mojo/services/public/cpp/view_manager/view_tree_node_observer.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_TREE_NODE_OBSERVER_H_
-#define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_TREE_NODE_OBSERVER_H_
-
-#include <vector>
-
-#include "base/basictypes.h"
-
-#include "mojo/services/public/cpp/view_manager/view_tree_node.h"
-
-namespace gfx {
-class Rect;
-}
-
-namespace mojo {
-namespace view_manager {
-
-class View;
-class ViewTreeNode;
-
-class ViewTreeNodeObserver {
- public:
- enum DispositionChangePhase {
- DISPOSITION_CHANGING,
- DISPOSITION_CHANGED
- };
-
- struct TreeChangeParams {
- TreeChangeParams();
- ViewTreeNode* target;
- ViewTreeNode* old_parent;
- ViewTreeNode* new_parent;
- ViewTreeNode* receiver;
- DispositionChangePhase phase;
- };
-
- virtual void OnTreeChange(const TreeChangeParams& params) {}
-
- virtual void OnNodeReordered(ViewTreeNode* node,
- ViewTreeNode* relative_node,
- OrderDirection direction,
- DispositionChangePhase phase) {}
-
- virtual void OnNodeDestroy(ViewTreeNode* node,
- DispositionChangePhase phase) {}
-
- virtual void OnNodeActiveViewChange(ViewTreeNode* node,
- View* old_view,
- View* new_view,
- DispositionChangePhase phase) {}
-
- virtual void OnNodeBoundsChange(ViewTreeNode* node,
- const gfx::Rect& old_bounds,
- const gfx::Rect& new_bounds,
- DispositionChangePhase phase) {}
-
- protected:
- virtual ~ViewTreeNodeObserver() {}
-};
-
-} // namespace view_manager
-} // namespace mojo
-
-#endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_TREE_NODE_OBSERVER_H_
« no previous file with comments | « mojo/services/public/cpp/view_manager/view_tree_node.h ('k') | mojo/services/view_manager/ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698