Home
last modified time | relevance | path

Searched refs:BookmarkNode (Results 1 – 25 of 141) sorted by relevance

123456

/external/chromium/chrome/browser/bookmarks/
Dbookmark_model.h45 class BookmarkNode : public ui::TreeNode<BookmarkNode> {
56 explicit BookmarkNode(const GURL& url);
58 BookmarkNode(int64 id, const GURL& url);
59 virtual ~BookmarkNode();
74 BookmarkNode::Type type() const { return type_; } in type()
75 void set_type(BookmarkNode::Type type) { type_ = type; } in set_type()
151 BookmarkNode::Type type_;
159 DISALLOW_COPY_AND_ASSIGN(BookmarkNode);
188 const BookmarkNode* root_node() { return &root_; } in root_node()
191 const BookmarkNode* GetBookmarkBarNode() { return bookmark_bar_node_; } in GetBookmarkBarNode()
[all …]
Dbookmark_utils.h20 class BookmarkNode; variable
41 int BookmarkDragOperation(Profile* profile, const BookmarkNode* node);
49 const BookmarkNode* parent,
56 const BookmarkNode* parent_node,
66 const BookmarkNode* drop_parent,
73 const BookmarkNode* parent,
78 const std::vector<const BookmarkNode*>& nodes,
90 const std::vector<const BookmarkNode*>& nodes,
97 const BookmarkNode* node,
104 const std::vector<const BookmarkNode*>& nodes,
[all …]
Dbookmark_model.cc30 static BookmarkNode* AsMutable(const BookmarkNode* node) { in AsMutable()
31 return const_cast<BookmarkNode*>(node); in AsMutable()
38 BookmarkNode::BookmarkNode(const GURL& url) in BookmarkNode() function in BookmarkNode
43 BookmarkNode::BookmarkNode(int64 id, const GURL& url) in BookmarkNode() function in BookmarkNode
48 BookmarkNode::~BookmarkNode() { in ~BookmarkNode()
51 void BookmarkNode::Initialize(int64 id) { in Initialize()
59 void BookmarkNode::InvalidateFavicon() { in InvalidateFavicon()
64 void BookmarkNode::Reset(const history::StarredEntry& entry) { in Reset()
70 type_ = BookmarkNode::URL; in Reset()
73 type_ = BookmarkNode::FOLDER; in Reset()
[all …]
Dbookmark_model_unittest.cc40 static BookmarkNode* AsMutable(const BookmarkNode* node) { in AsMutable()
41 return const_cast<BookmarkNode*>(node); in AsMutable()
44 void SwapDateAdded(BookmarkNode* n1, BookmarkNode* n2) { in SwapDateAdded()
60 void Set(const BookmarkNode* node1, in Set()
61 const BookmarkNode* node2, in Set()
70 void AssertEquals(const BookmarkNode* node1, in AssertEquals()
71 const BookmarkNode* node2, in AssertEquals()
80 const BookmarkNode* node1;
81 const BookmarkNode* node2;
98 const BookmarkNode* old_parent, in BookmarkNodeMoved()
[all …]
Dbookmark_codec.h21 class BookmarkNode; variable
48 Value* Encode(const BookmarkNode* bookmark_bar_node,
49 const BookmarkNode* other_folder_node);
56 bool Decode(BookmarkNode* bb_node,
57 BookmarkNode* other_folder_node,
96 Value* EncodeNode(const BookmarkNode* node);
99 bool DecodeHelper(BookmarkNode* bb_node,
100 BookmarkNode* other_folder_node,
105 BookmarkNode* parent);
108 void ReassignIDs(BookmarkNode* bb_node, BookmarkNode* other_node);
[all …]
Dbookmark_utils.cc95 const BookmarkNode* parent, in CloneBookmarkNodeImpl()
100 const BookmarkNode* new_folder = model->AddFolder(parent, in CloneBookmarkNodeImpl()
109 int ChildURLCount(const BookmarkNode* node) { in ChildURLCount()
112 const BookmarkNode* child = node->GetChild(i); in ChildURLCount()
125 void OpenAllImpl(const BookmarkNode* node, in OpenAllImpl()
152 const BookmarkNode* child_node = node->GetChild(i); in OpenAllImpl()
160 const std::vector<const BookmarkNode*>& nodes) { in ShouldOpenAll()
175 bool MoreRecentlyModified(const BookmarkNode* n1, const BookmarkNode* n2) { in MoreRecentlyModified()
192 bool DoesBookmarkContainWords(const BookmarkNode* node, in DoesBookmarkContainWords()
224 int BookmarkDragOperation(Profile* profile, const BookmarkNode* node) { in BookmarkDragOperation()
[all …]
Dbookmark_model_observer.h10 class BookmarkNode; variable
23 const BookmarkNode* old_parent,
25 const BookmarkNode* new_parent,
30 const BookmarkNode* parent,
39 const BookmarkNode* parent,
41 const BookmarkNode* node) = 0;
45 const BookmarkNode* node) = 0;
49 const BookmarkNode* node) = 0;
54 const BookmarkNode* node) = 0;
Dbase_bookmark_model_observer.cc17 const BookmarkNode* old_parent, in BookmarkNodeMoved()
19 const BookmarkNode* new_parent, in BookmarkNodeMoved()
25 const BookmarkNode* parent, in BookmarkNodeAdded()
31 const BookmarkNode* parent, in BookmarkNodeRemoved()
33 const BookmarkNode* node) { in BookmarkNodeRemoved()
38 const BookmarkNode* node) { in BookmarkNodeChanged()
44 const BookmarkNode* node) { in BookmarkNodeFaviconLoaded()
49 const BookmarkNode* node) { in BookmarkNodeChildrenReordered()
Dbase_bookmark_model_observer.h25 const BookmarkNode* old_parent,
27 const BookmarkNode* new_parent,
30 const BookmarkNode* parent,
33 const BookmarkNode* parent,
35 const BookmarkNode* node);
37 const BookmarkNode* node);
39 const BookmarkNode* node);
41 const BookmarkNode* node);
Dbookmark_codec.cc49 Value* BookmarkCodec::Encode(const BookmarkNode* bookmark_bar_node, in Encode()
50 const BookmarkNode* other_folder_node) { in Encode()
68 bool BookmarkCodec::Decode(BookmarkNode* bb_node, in Decode()
69 BookmarkNode* other_folder_node, in Decode()
88 Value* BookmarkCodec::EncodeNode(const BookmarkNode* node) { in EncodeNode()
96 if (node->type() == BookmarkNode::URL) { in EncodeNode()
116 bool BookmarkCodec::DecodeHelper(BookmarkNode* bb_node, in DecodeHelper()
117 BookmarkNode* other_folder_node, in DecodeHelper()
160 bb_node->set_type(BookmarkNode::BOOKMARK_BAR); in DecodeHelper()
161 other_folder_node->set_type(BookmarkNode::OTHER_NODE); in DecodeHelper()
[all …]
/external/chromium/chrome/browser/sync/glue/
Dbookmark_change_processor.h35 const BookmarkNode* old_parent,
37 const BookmarkNode* new_parent,
40 const BookmarkNode* parent,
43 const BookmarkNode* parent,
45 const BookmarkNode* node);
47 const BookmarkNode* node);
49 const BookmarkNode* node);
51 const BookmarkNode* node);
64 static const BookmarkNode* CreateBookmarkNode(
66 const BookmarkNode* parent,
[all …]
Dbookmark_change_processor.cc51 const BookmarkNode* src, BookmarkModel* model, sync_api::WriteNode* dst) { in UpdateSyncNodeProperties()
61 void BookmarkChangeProcessor::EncodeFavicon(const BookmarkNode* src, in EncodeFavicon()
80 sync_api::WriteTransaction* trans, const BookmarkNode* node) { in RemoveOneSyncNode()
94 const BookmarkNode* topmost) { in RemoveSyncNodeHierarchy()
106 const BookmarkNode* node = topmost; in RemoveSyncNodeHierarchy()
142 const BookmarkNode* parent, in BookmarkNodeAdded()
155 int64 BookmarkChangeProcessor::CreateSyncNode(const BookmarkNode* parent, in CreateSyncNode()
159 const BookmarkNode* child = parent->GetChild(index); in CreateSyncNode()
183 const BookmarkNode* parent, in BookmarkNodeRemoved()
185 const BookmarkNode* node) { in BookmarkNodeRemoved()
[all …]
Dbookmark_model_associator.cc50 bool operator()(const BookmarkNode* node1, in operator ()()
51 const BookmarkNode* node2) const { in operator ()()
72 explicit BookmarkNodeFinder(const BookmarkNode* parent_node);
77 const BookmarkNode* FindBookmarkNode(const sync_api::BaseNode& sync_node);
80 typedef std::multiset<const BookmarkNode*, BookmarkComparer> BookmarkNodesSet;
82 const BookmarkNode* parent_node_;
88 BookmarkNodeFinder::BookmarkNodeFinder(const BookmarkNode* parent_node) in BookmarkNodeFinder()
95 const BookmarkNode* BookmarkNodeFinder::FindBookmarkNode( in FindBookmarkNode()
98 BookmarkNode temp_node(sync_node.GetURL()); in FindBookmarkNode()
101 temp_node.set_type(BookmarkNode::FOLDER); in FindBookmarkNode()
[all …]
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_menu_bridge.h29 class BookmarkNode; variable
45 const BookmarkNode* old_parent,
47 const BookmarkNode* new_parent,
50 const BookmarkNode* parent,
53 const BookmarkNode* parent,
55 const BookmarkNode* node);
57 const BookmarkNode* node);
59 const BookmarkNode* node);
61 const BookmarkNode* node);
80 const BookmarkNode* node,
[all …]
Dbookmark_model_observer_for_cocoa.h41 BookmarkModelObserverForCocoa(const BookmarkNode* node,
49 const BookmarkNode* old_parent,
51 const BookmarkNode* new_parent,
54 const BookmarkNode* parent,
56 const BookmarkNode* node);
58 const BookmarkNode* node);
66 const BookmarkNode* parent, in BookmarkNodeAdded()
70 const BookmarkNode* node) { in BookmarkNodeFaviconLoaded()
73 const BookmarkNode* node) { in BookmarkNodeChildrenReordered()
80 const BookmarkNode* node_; // Weak; owned by a BookmarkModel.
Dbookmark_editor_base_controller.h35 const BookmarkNode* parentNode_; // weak; owned by the model
60 parent:(const BookmarkNode*)parent
94 - (const BookmarkNode*)selectedNode;
98 - (void)selectNodeInBrowser:(const BookmarkNode*)node;
101 - (void)nodeRemoved:(const BookmarkNode*)node
102 fromParent:(const BookmarkNode*)parent;
107 - (const BookmarkNode*)parentNode;
119 const BookmarkNode* folderNode_; // weak
125 @property(nonatomic, assign) const BookmarkNode* folderNode;
141 folderNode:(const BookmarkNode*)folderNode
[all …]
Dbookmark_bar_bridge.h31 const BookmarkNode* old_parent,
33 const BookmarkNode* new_parent,
36 const BookmarkNode* parent,
39 const BookmarkNode* parent,
41 const BookmarkNode* node);
43 const BookmarkNode* node);
45 const BookmarkNode* node);
47 const BookmarkNode* node);
Dbookmark_bubble_controller.h13 class BookmarkNode; variable
28 const BookmarkNode* node_; // weak
31 const BookmarkNode* pulsingBookmarkNode_; // weak
47 @property(readonly, nonatomic) const BookmarkNode* node;
57 node:(const BookmarkNode*)node
74 - (void)addFolderNodes:(const BookmarkNode*)parent
77 - (void)setTitle:(NSString*)title parentFolder:(const BookmarkNode*)parent;
78 - (void)setParentFolderSelection:(const BookmarkNode*)parent;
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_utils_gtk.h16 class BookmarkNode; variable
31 GdkPixbuf* GetPixbufForNode(const BookmarkNode* node, BookmarkModel* model,
39 GtkWidget* GetDragRepresentationForNode(const BookmarkNode* node,
45 void ConfigureButtonForNode(const BookmarkNode* node, BookmarkModel* model,
49 std::string BuildTooltipFor(const BookmarkNode* node);
52 const BookmarkNode* BookmarkNodeForWidget(GtkWidget* widget);
64 void WriteBookmarkToSelection(const BookmarkNode* node,
70 void WriteBookmarksToSelection(const std::vector<const BookmarkNode*>& nodes,
77 std::vector<const BookmarkNode*> GetNodesFromSelection(
90 const BookmarkNode* parent,
[all …]
Dbookmark_editor_gtk.h36 const BookmarkNode* parent,
66 const BookmarkNode* old_parent,
68 const BookmarkNode* new_parent,
71 const BookmarkNode* parent,
74 const BookmarkNode* parent,
76 const BookmarkNode* node);
78 const BookmarkNode* node) {} in BookmarkNodeChanged()
80 const BookmarkNode* node);
82 const BookmarkNode* node) {} in BookmarkNodeFaviconLoaded()
144 const BookmarkNode* parent_;
Dbookmark_bar_gtk.h185 void StartThrobbing(const BookmarkNode* node);
216 const BookmarkNode* old_parent,
218 const BookmarkNode* new_parent,
221 const BookmarkNode* parent,
224 const BookmarkNode* parent,
226 const BookmarkNode* node);
228 const BookmarkNode* node);
231 const BookmarkNode* node);
233 const BookmarkNode* node);
240 GtkWidget* CreateBookmarkButton(const BookmarkNode* node);
[all …]
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_editor_view_unittest.cc46 const BookmarkNode* GetNode(const std::string& name) { in GetNode()
50 BookmarkNode* GetMutableNode(const std::string& name) { in GetMutableNode()
51 return const_cast<BookmarkNode*>(GetNode(name)); in GetMutableNode()
59 const BookmarkNode* parent, in CreateEditor()
112 const BookmarkNode* f1 = in AddTestData()
115 const BookmarkNode* f11 = model_->AddFolder(f1, 1, ASCIIToUTF16("F11")); in AddTestData()
122 const BookmarkNode* of1 = in AddTestData()
163 const BookmarkNode* bb_node = in TEST_F()
181 const BookmarkNode* bb_node = in TEST_F()
196 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); in TEST_F()
[all …]
Dbookmark_bar_view.h217 const BookmarkNode* GetNodeForButtonAt(const gfx::Point& loc,
221 views::MenuButton* GetMenuButtonForNode(const BookmarkNode* node);
265 ShowFolderDropMenuTask(BookmarkBarView* view, const BookmarkNode* node) in ShowFolderDropMenuTask()
285 const BookmarkNode* node_;
309 const BookmarkNode* old_parent,
311 const BookmarkNode* new_parent,
318 const BookmarkNode* parent,
323 const BookmarkNode* parent,
330 const BookmarkNode* parent,
332 const BookmarkNode* node);
[all …]
Dbookmark_editor_view.h74 const BookmarkNode* parent,
142 const BookmarkNode* old_parent,
144 const BookmarkNode* new_parent,
147 const BookmarkNode* parent,
150 const BookmarkNode* parent,
152 const BookmarkNode* node);
154 const BookmarkNode* node) {} in BookmarkNodeChanged()
156 const BookmarkNode* node);
158 const BookmarkNode* node) {} in BookmarkNodeFaviconLoaded()
174 void CreateNodes(const BookmarkNode* bb_node, EditorNode* b_node);
[all …]
Dbookmark_menu_controller_views.h20 class BookmarkNode; variable
60 const BookmarkNode* node,
74 const BookmarkNode* node() const { return node_; } in node()
123 const BookmarkNode* node);
127 const std::vector<const BookmarkNode*>& bookmarks);
131 typedef std::map<const BookmarkNode*, int> NodeToMenuIDMap;
138 views::MenuItemView* CreateMenu(const BookmarkNode* parent,
143 void BuildMenu(const BookmarkNode* parent,
155 const std::vector<const BookmarkNode*>& bookmarks,
168 const BookmarkNode* node_;
[all …]

123456