diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-13 18:54:20 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-13 18:54:20 +0000 |
commit | 992c625bf2d6dfaaa46cf5b45cdcd7de68e7817e (patch) | |
tree | ae6467a99cf17115e04af5bbe358a6219f9c9808 /chrome/browser/views/bookmark_editor_view.h | |
parent | b83fed38db16e462afa3051dcad21318c62b2357 (diff) | |
download | chromium_src-992c625bf2d6dfaaa46cf5b45cdcd7de68e7817e.zip chromium_src-992c625bf2d6dfaaa46cf5b45cdcd7de68e7817e.tar.gz chromium_src-992c625bf2d6dfaaa46cf5b45cdcd7de68e7817e.tar.bz2 |
Move tree-related classes that Linux code depends on from views/ to app/
TEST=If it compiles and unit_tests pass, it's ok. Just moving files around.
http://crbug.com/11066
Review URL: http://codereview.chromium.org/115185
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_editor_view.h')
-rw-r--r-- | chrome/browser/views/bookmark_editor_view.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/chrome/browser/views/bookmark_editor_view.h b/chrome/browser/views/bookmark_editor_view.h index e7cba63..4ca3fde 100644 --- a/chrome/browser/views/bookmark_editor_view.h +++ b/chrome/browser/views/bookmark_editor_view.h @@ -7,12 +7,12 @@ #include <set> +#include "app/tree_node_model.h" #include "chrome/browser/bookmarks/bookmark_editor.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "views/controls/button/button.h" #include "views/controls/menu/menu.h" #include "views/controls/text_field.h" -#include "views/controls/tree/tree_node_model.h" #include "views/controls/tree/tree_view.h" #include "views/window/dialog_delegate.h" @@ -78,8 +78,7 @@ class BookmarkEditorView : public BookmarkEditor, // TreeViewObserver methods. virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view); - virtual bool CanEdit(views::TreeView* tree_view, - views::TreeModelNode* node); + virtual bool CanEdit(views::TreeView* tree_view, TreeModelNode* node); // TextField::Controller methods. virtual void ContentsChanged(views::TextField* sender, @@ -113,16 +112,16 @@ class BookmarkEditorView : public BookmarkEditor, private: // Type of node in the tree. - typedef views::TreeNodeWithValue<int> EditorNode; + typedef TreeNodeWithValue<int> EditorNode; // Model for the TreeView. Trivial subclass that doesn't allow titles with // empty strings. - class EditorTreeModel : public views::TreeNodeModel<EditorNode> { + class EditorTreeModel : public TreeNodeModel<EditorNode> { public: explicit EditorTreeModel(EditorNode* root) : TreeNodeModel<EditorNode>(root) {} - virtual void SetTitle(views::TreeModelNode* node, + virtual void SetTitle(TreeModelNode* node, const std::wstring& title) { if (!title.empty()) TreeNodeModel::SetTitle(node, title); |