Searched defs:bookmarks (Results 51 - 75 of 77) sorted by relevance

1234

/external/chromium_org/chrome/browser/importer/
H A Din_process_importer_bridge.cc182 const std::vector<ImportedBookmarkEntry>& bookmarks,
186 base::Bind(&ProfileWriter::AddBookmarks, writer_, bookmarks,
181 AddBookmarks( const std::vector<ImportedBookmarkEntry>& bookmarks, const base::string16& first_folder_name) argument
H A Dprofile_writer.cc16 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
30 #include "components/bookmarks/browser/bookmark_model.h"
71 // Shows the bookmarks toolbar.
73 profile->GetPrefs()->SetBoolean(bookmarks::prefs::kShowBookmarkBar, true);
118 const std::vector<ImportedBookmarkEntry>& bookmarks,
120 if (bookmarks.empty())
131 // Reorder bookmarks so that the toolbar entries come first.
135 bookmarks.begin();
136 it != bookmarks.end(); ++it) {
146 // If the user currently has no bookmarks i
117 AddBookmarks( const std::vector<ImportedBookmarkEntry>& bookmarks, const base::string16& top_level_folder_name) argument
[all...]
/external/chromium_org/chrome/browser/renderer_host/
H A Drender_process_host_chrome_browsertest.cc184 GURL bookmarks(chrome::kChromeUIBookmarksURL);
187 chrome::ShowSingletonTab(browser(), bookmarks); local
194 EXPECT_EQ(tab1->GetURL(), bookmarks);
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
H A Dbookmark_bar_controller.h14 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h"
15 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h"
16 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_state.h"
17 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h"
18 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h"
37 namespace bookmarks { namespace
131 } // namespace bookmarks
231 // "Managed bookmarks" button on the left side, next to the apps button.
234 // "Other bookmarks" button on the right side.
314 // apps shortcut and the managed bookmarks folde
[all...]
/external/chromium_org/chrome/browser/ui/sync/
H A Dprofile_signin_confirmation_helper.cc12 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
18 #include "components/bookmarks/browser/bookmark_model.h"
69 BookmarkModel* bookmarks = BookmarkModelFactory::GetForProfile(profile); local
70 bool has_bookmarks = bookmarks && bookmarks->HasBookmarks();
72 DVLOG(1) << "ProfileSigninConfirmationHelper: profile contains bookmarks";
/external/chromium_org/chrome/common/extensions/api/
H A Dextension_api_unittest.cc62 test_data[i].api->GetSchema("bookmarks.create") != NULL);
703 { "bookmarks", "bookmarks", "" },
704 { "bookmarks.", "bookmarks", "" },
705 { ".bookmarks", "", "" },
706 { "bookmarks.create", "bookmarks", "create" },
707 { "bookmarks.create.", "bookmarks", "creat
726 SimpleFeature* bookmarks = static_cast<SimpleFeature*>( local
[all...]
/external/chromium_org/chrome/utility/importer/
H A Dbookmark_html_reader.cc79 // We only have one URL per favicon for Firefox 2 bookmarks.
93 std::vector<ImportedBookmarkEntry>* bookmarks,
174 // Add this bookmark to the list of |bookmarks|.
181 bookmarks->push_back(entry);
223 bookmarks->push_back(entry);
226 // Add this folder to the list of |bookmarks|.
228 bookmarks->push_back(entry);
89 ImportBookmarksFile( const base::Callback<bool(void)>& cancellation_callback, const base::Callback<bool(const GURL&)>& valid_url_callback, const base::FilePath& file_path, std::vector<ImportedBookmarkEntry>* bookmarks, std::vector<ImportedFaviconUsage>* favicons) argument
H A Dexternal_process_importer_bridge.cc43 const std::vector<ImportedBookmarkEntry>& bookmarks,
46 first_folder_name, bookmarks.size()));
51 int bookmarks_left = bookmarks.end() - bookmarks.begin();
53 bookmarks.begin(); it < bookmarks.end();) {
42 AddBookmarks( const std::vector<ImportedBookmarkEntry>& bookmarks, const base::string16& first_folder_name) argument
H A Dfirefox_importer.cc44 // Loads the default bookmarks in the Firefox installed at |app_path|,
50 .AppendASCII("bookmarks.html");
53 std::vector<ImportedBookmarkEntry> bookmarks; local
57 &bookmarks, local
59 for (size_t i = 0; i < bookmarks.size(); ++i)
60 urls->insert(bookmarks[i].url);
120 // Note history should be imported before bookmarks because bookmark import
122 // exist in history or bookmarks.
215 // Load the default bookmarks.
227 std::vector<ImportedBookmarkEntry> bookmarks; local
[all...]
H A Die_importer_win.cc112 // Compares the two bookmarks in the order of IE's Favorites menu.
260 std::vector<ImportedBookmarkEntry>* bookmarks) {
265 std::sort(bookmarks->begin(), bookmarks->end(), compare);
459 BookmarkVector bookmarks;
461 ParseFavoritesFolder(info, &bookmarks, &favicons);
463 if (!bookmarks.empty() && !cancelled()) {
466 bridge_->AddBookmarks(bookmarks, first_folder_name);
793 BookmarkVector* bookmarks,
806 // Keep the bookmarks i
258 SortBookmarksInIEOrder( const Importer* importer, std::vector<ImportedBookmarkEntry>* bookmarks) argument
791 ParseFavoritesFolder( const FavoritesInfo& info, BookmarkVector* bookmarks, std::vector<ImportedFaviconUsage>* favicons) argument
[all...]
/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_index.cc5 #include "components/bookmarks/browser/bookmark_index.h"
15 #include "components/bookmarks/browser/bookmark_client.h"
16 #include "components/bookmarks/browser/bookmark_match.h"
17 #include "components/bookmarks/browser/bookmark_node.h"
18 #include "components/bookmarks/browser/bookmark_utils.h"
22 namespace bookmarks { namespace
65 // Used when finding the set of bookmarks that match a query. Each match
259 return false; // No bookmarks with this term.
359 } // namespace bookmarks
H A Dbookmark_index_unittest.cc5 #include "components/bookmarks/browser/bookmark_index.h"
15 #include "components/bookmarks/browser/bookmark_match.h"
16 #include "components/bookmarks/browser/bookmark_model.h"
17 #include "components/bookmarks/test/bookmark_test_helpers.h"
18 #include "components/bookmarks/test/test_bookmark_client.h"
24 namespace bookmarks { namespace
64 std::vector<TitleAndURL> bookmarks; local
67 bookmarks.push_back(bookmark);
69 AddBookmarks(bookmarks);
72 void AddBookmarks(const std::vector<TitleAndURL>& bookmarks) { argument
179 std::vector<TitleAndURL> bookmarks; local
242 std::vector<TitleAndURL> bookmarks; local
300 std::vector<TitleAndURL> bookmarks; local
352 std::vector<TitleAndURL> bookmarks; local
[all...]
H A Dbookmark_model.h20 #include "components/bookmarks/browser/bookmark_client.h"
21 #include "components/bookmarks/browser/bookmark_node.h"
34 namespace bookmarks { namespace
52 // Three graphs are provided for the three entry points: those on the 'bookmarks
53 // bar', those in the 'other bookmarks' folder and those in the 'mobile' folder.
66 explicit BookmarkModel(bookmarks::BookmarkClient* client);
72 // Loads the bookmarks. This is called upon creation of the
170 // Returns true if there are bookmarks, otherwise returns false.
179 // Returns, by reference in |bookmarks|, the set of bookmarked urls and their
180 // titles. This returns the unique set of URLs. For example, if two bookmarks
[all...]
H A Dbookmark_node_data.cc5 #include "components/bookmarks/browser/bookmark_node_data.h"
13 #include "components/bookmarks/browser/bookmark_utils.h"
16 namespace bookmarks { namespace
289 } // namespace bookmarks
H A Dbookmark_storage.cc5 #include "components/bookmarks/browser/bookmark_storage.h"
15 #include "components/bookmarks/browser/bookmark_codec.h"
16 #include "components/bookmarks/browser/bookmark_index.h"
17 #include "components/bookmarks/browser/bookmark_model.h"
18 #include "components/bookmarks/common/bookmark_constants.h"
23 namespace bookmarks { namespace
88 // Load the index if there are any bookmarks in the extra nodes.
215 } // namespace bookmarks
H A Dbookmark_storage.h15 #include "components/bookmarks/browser/bookmark_node.h"
23 namespace bookmarks { namespace
35 // BookmarkLoadDetails is used by BookmarkStorage when loading bookmarks.
37 // ownership) to BookmarkStorage. BookmarkStorage loads the bookmarks (and
110 // unique. Basically, if the user modified the bookmarks directly we'll
133 // BookmarkModel uses the BookmarkStorage to load bookmarks from disk, as well
147 // Loads the bookmarks into the model, notifying the model when done. This
186 } // namespace bookmarks
H A Dbookmark_codec_unittest.cc5 #include "components/bookmarks/browser/bookmark_codec.h"
16 #include "components/bookmarks/browser/bookmark_model.h"
17 #include "components/bookmarks/test/test_bookmark_client.h"
22 namespace bookmarks { namespace
359 GetTestDataDir().AppendASCII("bookmarks/model_without_sync.json");
446 GetTestDataDir().AppendASCII("bookmarks/meta_info_as_string.json");
478 } // namespace bookmarks
H A Dbookmark_utils.cc5 #include "components/bookmarks/browser/bookmark_utils.h"
18 #include "components/bookmarks/browser/bookmark_client.h"
19 #include "components/bookmarks/browser/bookmark_model.h"
20 #include "components/bookmarks/browser/scoped_group_bookmark_actions.h"
21 #include "components/bookmarks/common/bookmark_pref_names.h"
31 namespace bookmarks { namespace
73 // searching for bookmarks.
413 std::vector<const BookmarkNode*> bookmarks; local
414 model->GetNodesByURL(url, &bookmarks);
416 // Remove all the user bookmarks
[all...]
H A Dbookmark_codec.cc5 #include "components/bookmarks/browser/bookmark_codec.h"
13 #include "components/bookmarks/browser/bookmark_model.h"
20 namespace bookmarks { namespace
205 // Fail silently if we can't deserialize mobile bookmarks. We can't require
217 // least reassign the mobile bookmarks to avoid it colliding with anything
493 } // namespace bookmarks
H A Dbookmark_model.cc5 #include "components/bookmarks/browser/bookmark_model.h"
16 #include "components/bookmarks/browser/bookmark_expanded_state_tracker.h"
17 #include "components/bookmarks/browser/bookmark_index.h"
18 #include "components/bookmarks/browser/bookmark_match.h"
19 #include "components/bookmarks/browser/bookmark_model_observer.h"
20 #include "components/bookmarks/browser/bookmark_node_data.h"
21 #include "components/bookmarks/browser/bookmark_storage.h"
22 #include "components/bookmarks/browser/bookmark_utils.h"
29 using bookmarks::BookmarkClient;
30 using bookmarks
534 GetBookmarks( std::vector<BookmarkModel::URLAndTitle>* bookmarks) argument
[all...]
H A Dbookmark_model_unittest.cc5 #include "components/bookmarks/browser/bookmark_model.h"
22 #include "components/bookmarks/browser/bookmark_model_observer.h"
23 #include "components/bookmarks/browser/bookmark_utils.h"
24 #include "components/bookmarks/test/bookmark_test_helpers.h"
25 #include "components/bookmarks/test/test_bookmark_client.h"
35 namespace bookmarks { namespace
273 bookmarks::BookmarkPermanentNodeList extra_nodes;
730 bookmarks::GetMostRecentlyModifiedUserFolders(model_.get(), 1);
738 bookmarks::GetMostRecentlyModifiedUserFolders(model_.get(), 1);
771 bookmarks
815 std::vector<BookmarkModel::URLAndTitle> bookmarks; local
[all...]
/external/chromium_org/chrome/browser/extensions/api/bookmark_manager_private/
H A Dbookmark_manager_private_api.h10 #include "chrome/browser/extensions/api/bookmarks/bookmarks_api.h"
12 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
15 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
16 #include "components/bookmarks/browser/bookmark_node_data.h"
22 namespace bookmarks { namespace
98 virtual void OnDragEnter(const bookmarks::BookmarkNodeData& data) OVERRIDE;
99 virtual void OnDragOver(const bookmarks::BookmarkNodeData& data) OVERRIDE;
100 virtual void OnDragLeave(const bookmarks::BookmarkNodeData& data) OVERRIDE;
101 virtual void OnDrop(const bookmarks::BookmarkNodeData& data) OVERRIDE;
105 const bookmarks
[all...]
/external/chromium_org/chrome/browser/bookmarks/
H A Dbookmark_html_writer.cc5 #include "chrome/browser/bookmarks/bookmark_html_writer.h"
18 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
22 #include "components/bookmarks/browser/bookmark_codec.h"
23 #include "components/bookmarks/browser/bookmark_model.h"
32 using bookmarks::BookmarkCodec;
54 // The following are used for bookmarks.
90 Writer(base::Value* bookmarks, argument
94 : bookmarks_(bookmarks),
100 // Writing bookmarks and favicons data to file.
236 // (used by bookmarks
[all...]
/external/chromium_org/chrome/browser/history/android/
H A Dandroid_provider_backend.cc468 std::vector<HistoryAndBookmarkRow> bookmarks; local
484 bookmarks.push_back(row);
492 for (std::vector<HistoryAndBookmarkRow>::const_iterator i = bookmarks.begin();
493 i != bookmarks.end(); ++i) {
494 // Don't update the tables, otherwise, the bookmarks will be added to
496 // We can't rely on UpdateBookmark() to insert the bookmarks into history
711 LOG(ERROR) << "Update of the bookmarks failed";
780 std::vector<URLAndTitle> bookmarks; local
781 history_client_->GetBookmarks(&bookmarks);
783 if (bookmarks
[all...]
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_menu_delegate.cc5 #include "chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h"
9 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
10 #include "chrome/browser/bookmarks/chrome_bookmark_client.h"
11 #include "chrome/browser/bookmarks/chrome_bookmark_client_factory.h"
13 #include "chrome/browser/ui/bookmarks/bookmark_drag_drop.h"
14 #include "chrome/browser/ui/bookmarks/bookmark_utils.h"
16 #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h"
17 #include "chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.h"
20 #include "components/bookmarks/browser/bookmark_model.h"
34 using bookmarks
358 WillRemoveBookmarks( const std::vector<const BookmarkNode*>& bookmarks) argument
[all...]

Completed in 8511 milliseconds

1234