Home
last modified time | relevance | path

Searched refs:bookmark_utils (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium/chrome/browser/bookmarks/
Dbookmark_utils_unittest.cc33 bookmark_utils::GetBookmarksContainingText( in TEST_F()
37 EXPECT_TRUE(bookmark_utils::DoesBookmarkContainText( in TEST_F()
41 bookmark_utils::GetBookmarksContainingText( in TEST_F()
45 EXPECT_TRUE(bookmark_utils::DoesBookmarkContainText( in TEST_F()
49 bookmark_utils::GetBookmarksContainingText( in TEST_F()
53 EXPECT_TRUE(bookmark_utils::DoesBookmarkContainText( in TEST_F()
64 ASSERT_TRUE(bookmark_utils::DoesBookmarkContainText( in TEST_F()
67 ASSERT_TRUE(bookmark_utils::DoesBookmarkContainText( in TEST_F()
70 ASSERT_FALSE(bookmark_utils::DoesBookmarkContainText( in TEST_F()
78 ASSERT_FALSE(bookmark_utils::DoesBookmarkContainText( in TEST_F()
[all …]
Dbookmark_context_menu_controller.cc128 bookmark_utils::OpenAll(parent_window_, profile_, navigator_, selection_, in ExecuteCommand()
177 bookmark_utils::GetParentForNewNodes(parent_, selection_, NULL), in ExecuteCommand()
188 bookmark_utils::GetParentForNewNodes(parent_, selection_, &index); in ExecuteCommand()
195 bookmark_utils::ToggleWhenVisible(profile_); in ExecuteCommand()
211 bookmark_utils::CopyToClipboard(model_, selection_, true); in ExecuteCommand()
215 bookmark_utils::CopyToClipboard(model_, selection_, false); in ExecuteCommand()
221 bookmark_utils::GetParentForNewNodes(parent_, selection_, &index); in ExecuteCommand()
225 bookmark_utils::PasteFromClipboard(model_, paste_target, index); in ExecuteCommand()
270 return can_edit && bookmark_utils::GetParentForNewNodes( in IsCommandIdEnabled()
286 bookmark_utils::CanPasteFromClipboard(selection_[0])) || in IsCommandIdEnabled()
[all …]
Dbookmark_index.h21 namespace bookmark_utils {
52 std::vector<bookmark_utils::TitleMatch>* results);
90 std::vector<bookmark_utils::TitleMatch>* results);
Dbookmark_index_unittest.cc53 std::vector<bookmark_utils::TitleMatch> matches; in ExpectMatches()
88 std::vector<bookmark_utils::TitleMatch> matches; in ExpectMatchPositions()
91 const bookmark_utils::TitleMatch& match = matches[0]; in ExpectMatchPositions()
203 std::vector<bookmark_utils::TitleMatch> matches; in TEST_F()
215 std::vector<bookmark_utils::TitleMatch> matches; in TEST_F()
282 std::vector<bookmark_utils::TitleMatch> matches; in TEST_F()
Dbookmark_index.cc79 std::vector<bookmark_utils::TitleMatch>* results) { in GetBookmarksWithTitlesMatching()
144 std::vector<bookmark_utils::TitleMatch>* results) { in AddMatchToResults()
145 bookmark_utils::TitleMatch title_match; in AddMatchToResults()
Dbookmark_utils.cc164 if (child_count < bookmark_utils::num_urls_before_prompting) in ShouldOpenAll()
207 namespace bookmark_utils { namespace
244 if (!bookmark_utils::IsValidDropLocation(profile, data, parent, index)) in BookmarkDropOperation()
276 bookmark_utils::CloneBookmarkNode(model, data.elements, parent_node, index); in PerformBookmarkDrop()
429 bookmark_utils::CloneBookmarkNode( in PasteFromClipboard()
Drecently_used_folders_combo_model.cc21 : nodes_(bookmark_utils::GetMostRecentlyModifiedFolders( in RecentlyUsedFoldersComboModel()
Dbookmark_model.h36 namespace bookmark_utils {
306 std::vector<bookmark_utils::TitleMatch>* matches);
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_context_menu_controller_views.cc117 bookmark_utils::OpenAll(parent_window_, profile_, navigator_, selection_, in ExecuteCommand()
164 bookmark_utils::GetParentForNewNodes(parent_, selection_, NULL), in ExecuteCommand()
175 bookmark_utils::GetParentForNewNodes(parent_, selection_, &index); in ExecuteCommand()
182 bookmark_utils::ToggleWhenVisible(profile_); in ExecuteCommand()
199 bookmark_utils::CopyToClipboard(model, selection_, true); in ExecuteCommand()
204 bookmark_utils::CopyToClipboard(model, selection_, false); in ExecuteCommand()
210 bookmark_utils::GetParentForNewNodes(parent_, selection_, &index); in ExecuteCommand()
214 bookmark_utils::PasteFromClipboard(model, paste_target, index); in ExecuteCommand()
256 return can_edit && bookmark_utils::GetParentForNewNodes( in IsCommandEnabled()
272 bookmark_utils::CanPasteFromClipboard(selection_[0])) || in IsCommandEnabled()
[all …]
Dbookmark_menu_controller_views.cc117 bookmark_utils::OpenAll(parent_, profile_, page_navigator_, selection, in ExecuteCommand()
178 return bookmark_utils::BookmarkDropOperation( in GetDropOperation()
200 int result = bookmark_utils::PerformBookmarkDrop( in OnPerformDrop()
247 return bookmark_utils::BookmarkDragOperation(profile_, in GetDragOperations()
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_utils_gtk_unittest.cc11 nodes = bookmark_utils::GetNodesFromSelection(NULL, NULL, 0, NULL, NULL, in TEST()
18 nodes = bookmark_utils::GetNodesFromSelection(NULL, &data, 0, NULL, NULL, in TEST()
22 nodes = bookmark_utils::GetNodesFromSelection(NULL, NULL, in TEST()
28 nodes = bookmark_utils::GetNodesFromSelection(NULL, &data, in TEST()
35 nodes = bookmark_utils::GetNodesFromSelection(NULL, &data, in TEST()
Dbookmark_tree_model.cc28 bookmark_utils::FOLDER_ICON, GtkThemeService::GetFolderIcon(true), in AddSingleNodeToTreeStore()
29 bookmark_utils::FOLDER_NAME, in AddSingleNodeToTreeStore()
31 bookmark_utils::ITEM_ID, node->id(), in AddSingleNodeToTreeStore()
34 bookmark_utils::IS_EDITABLE, node->type() == BookmarkNode::FOLDER, in AddSingleNodeToTreeStore()
53 int64 id = bookmark_utils::GetIdFromTreeIter(tree_model, &child_iter); in RecursiveResolve()
55 bookmark_utils::GetTitleFromTreeIter(tree_model, &child_iter); in RecursiveResolve()
89 bookmark_utils::FOLDER_NAME, new_folder_name, in OnFolderNameEdited()
96 namespace bookmark_utils { namespace
Dbookmark_editor_gtk.cc144 gtk_tree_model_get_value(model, iter, bookmark_utils::ITEM_ID, &value); in GetRowIdAt()
323 tree_store_ = bookmark_utils::MakeFolderTreeStore(); in Init()
324 bookmark_utils::AddToTreeStore(bb_model_, selected_id, tree_store_, in Init()
326 tree_view_ = bookmark_utils::MakeTreeViewForStore(tree_store_); in Init()
461 bookmark_utils::ApplyEditsWithNoFolderChange( in ApplyEdits()
468 bookmark_utils::CommitTreeStoreDifferencesBetween( in ApplyEdits()
477 bookmark_utils::ApplyEditsWithPossibleFolderChange( in ApplyEdits()
485 bookmark_utils::FOLDER_ICON, GtkThemeService::GetFolderIcon(true), in AddNewFolder()
486 bookmark_utils::FOLDER_NAME, in AddNewFolder()
488 bookmark_utils::ITEM_ID, static_cast<int64>(0), in AddNewFolder()
[all …]
Dbookmark_menu_controller_gtk.cc36 GdkPixbuf* pixbuf = bookmark_utils::GetPixbufForNode(node, model, true); in SetImageMenuItem()
250 bookmark_utils::OpenAll(parent_window_, in OnMenuButtonPressedOrReleased()
349 const BookmarkNode* node = bookmark_utils::BookmarkNodeForWidget(menu_item); in OnMenuItemDragBegin()
350 drag_icon_ = bookmark_utils::GetDragRepresentationForNode( in OnMenuItemDragBegin()
373 const BookmarkNode* node = bookmark_utils::BookmarkNodeForWidget(widget); in OnMenuItemDragGet()
374 bookmark_utils::WriteBookmarkToSelection(node, selection_data, target_type, in OnMenuItemDragGet()
Dbookmark_bar_gtk.cc490 bookmark_utils::ConfigureButtonForNode(node, model, button, theme_service_); in BookmarkNodeChanged()
522 bookmark_utils::ConfigureButtonForNode(model_->other_node(), in CreateAllBookmarkButtons()
869 bookmark_utils::ConfigureButtonForNode(node, model_, button, theme_service_); in CreateBookmarkButton()
874 int target_mask = bookmark_utils::GetCodeMask(node->is_folder()); in CreateBookmarkButton()
1056 drag_icon_ = bookmark_utils::GetDragRepresentationForNode( in OnButtonDragBegin()
1103 const BookmarkNode* node = bookmark_utils::BookmarkNodeForWidget(widget); in OnButtonDragGet()
1104 bookmark_utils::WriteBookmarkToSelection(node, selection_data, target_type, in OnButtonDragGet()
1120 bookmark_utils::OpenAll(window_->GetNativeHandle(), in OnFolderClicked()
1295 bookmark_utils::GetNodesFromSelection(context, selection_data, in OnDragReceived()
1310 dnd_success = bookmark_utils::CreateNewBookmarkFromNamedUrl( in OnDragReceived()
[all …]
Dbookmark_utils_gtk.cc79 bookmark_utils::SetButtonTextColors(label, provider); in PackButton()
156 namespace bookmark_utils { namespace
230 GdkPixbuf* pixbuf = bookmark_utils::GetPixbufForNode(node, model, in ConfigureButtonForNode()
240 g_object_set_data(G_OBJECT(button), bookmark_utils::kBookmarkNode, in ConfigureButtonForNode()
278 g_object_get_data(G_OBJECT(widget), bookmark_utils::kBookmarkNode)); in BookmarkNodeForWidget()
Dbookmark_editor_gtk_unittest.cc20 using bookmark_utils::GetTitleFromTreeIter;
237 bookmark_utils::FOLDER_NAME, "F21", -1); in TEST_F()
241 bookmark_utils::FOLDER_NAME, "F211", -1); in TEST_F()
Dbookmark_tree_model.h23 namespace bookmark_utils {
Dbookmark_utils_gtk.h25 namespace bookmark_utils {
/external/chromium/chrome/browser/ui/cocoa/
Dbrowser_window_cocoa_unittest.mm8 #include "chrome/browser/bookmarks/bookmark_utils.h"
64 bookmark_utils::ToggleWhenVisible(browser_helper_.profile());
69 bookmark_utils::ToggleWhenVisible(browser_helper_.profile());
80 bookmark_utils::ToggleWhenVisible(browser_helper_.profile());
83 bookmark_utils::ToggleWhenVisible(browser_helper_.profile());
/external/chromium/chrome/browser/autocomplete/
Dhistory_contents_provider.h12 namespace bookmark_utils {
62 void AddBookmarkTitleMatchToResults(const bookmark_utils::TitleMatch& match);
Dhistory_contents_provider.cc273 std::vector<bookmark_utils::TitleMatch> matches; in QueryBookmarks()
283 const bookmark_utils::TitleMatch& match) { in AddBookmarkTitleMatchToResults()
/external/chromium/chrome/browser/extensions/
Dextension_bookmark_manager_api.cc218 bookmark_utils::CopyToClipboard(model, nodes, cut); in CopyOrCut()
241 bool can_paste = bookmark_utils::CanPasteFromClipboard(parent_node); in RunImpl()
257 bookmark_utils::PasteFromClipboard(model, parent_node, highest_index); in RunImpl()
270 bool can_paste = bookmark_utils::CanPasteFromClipboard(parent_node); in RunImpl()
372 bookmark_utils::DragBookmarks( in RunImpl()
422 bookmark_utils::PerformBookmarkDrop(profile(), in RunImpl()
/external/chromium/chrome/browser/ui/gtk/
Dcustom_drag.cc124 bookmark_utils::GetCodeMask(false), in BookmarkDrag()
136 bookmark_utils::WriteBookmarksToSelection(nodes_, selection_data, in OnDragDataGet()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_menu_cocoa_controller.mm12 #include "chrome/browser/bookmarks/bookmark_utils.h"
101 bookmark_utils::OpenAll(NULL, browser->profile(), browser, node,

12