Home
last modified time | relevance | path

Searched refs:is_url (Results 1 – 25 of 77) sorted by relevance

1234

/external/chromium/chrome/browser/bookmarks/
Dbookmark_node_data.cc28 BookmarkNodeData::Element::Element() : is_url(false), id_(0) { in Element()
32 : is_url(node->is_url()), in Element()
44 pickle->WriteBool(is_url); in WriteToPickle()
48 if (!is_url) { in WriteToPickle()
60 if (!pickle->ReadBool(iterator, &is_url) || in ReadFromPickle()
68 if (!is_url) { in ReadFromPickle()
134 element.is_url = true; in ReadFromTuple()
147 if (elements.size() == 1 && elements[0].is_url) { in WriteToClipboard()
183 element.is_url = true; in ReadFromClipboard()
225 if (elements.size() == 1 && elements[0].is_url) { in Write()
Dbookmark_node_data_unittest.cc66 EXPECT_TRUE(drag_data.elements[0].is_url); in TEST_F()
86 EXPECT_TRUE(drag_data.elements[0].is_url); in TEST_F()
98 EXPECT_TRUE(read_data.elements[0].is_url); in TEST_F()
131 EXPECT_FALSE(drag_data.elements[0].is_url); in TEST_F()
143 EXPECT_FALSE(read_data.elements[0].is_url); in TEST_F()
183 EXPECT_TRUE(read_child.is_url); in TEST_F()
186 EXPECT_TRUE(read_child.is_url); in TEST_F()
225 EXPECT_FALSE(read_folder.is_url); in TEST_F()
230 EXPECT_TRUE(read_url.is_url); in TEST_F()
Dbookmark_utils.cc97 if (element.is_url) { in CloneBookmarkNodeImpl()
113 if (child->is_url()) in ChildURLCount()
129 if (node->is_url()) { in OpenAllImpl()
153 if (child_node->is_url()) in OpenAllImpl()
228 if (node->is_url()) { in BookmarkDragOperation()
492 if (node->is_url()) { in GetMostRecentlyAddedEntries()
529 if (node->is_url() && DoesBookmarkContainWords(node, words, languages)) { in GetBookmarksContainingText()
546 return (node->is_url() && DoesBookmarkContainWords(node, words, languages)); in DoesBookmarkContainText()
581 if (node->is_url()) in ApplyEditsWithNoFolderChange()
601 if (node->is_url()) in ApplyEditsWithPossibleFolderChange()
[all …]
Dbookmark_node_data.h49 bool is_url; member
137 bool has_single_url() const { return is_valid() && elements[0].is_url; } in has_single_url()
Dbookmark_pasteboard_helper_mac.mm112 element.is_url = true;
133 element.is_url = true;
145 if (element.is_url) {
187 if (element.is_url) {
Dbookmark_context_menu_controller.cc51 if (selection_.size() == 1 && selection_[0]->is_url()) { in BuildMenu()
144 if (selection_[0]->is_url()) { in ExecuteCommand()
/external/chromium_org/chrome/browser/bookmarks/
Dbookmark_node_data.cc21 BookmarkNodeData::Element::Element() : is_url(false), id_(0) { in Element()
25 : is_url(node->is_url()), in Element()
41 pickle->WriteBool(is_url); in WriteToPickle()
51 if (!is_url) { in WriteToPickle()
63 if (!pickle->ReadBool(iterator, &is_url) || in ReadFromPickle()
86 if (!is_url) { in ReadFromPickle()
148 element.is_url = true; in ReadFromTuple()
163 if (elements.size() == 1 && elements[0].is_url) { in WriteToClipboard()
205 element.is_url = true; in ReadFromClipboard()
Dbookmark_tag_model.cc330 } else if (bookmark->is_url()) { in BookmarkNodeMoved()
350 if (!bookmark->is_url()) in BookmarkNodeAdded()
364 if (!node->is_url()) in OnWillRemoveBookmarks()
376 if (!node->is_url()) in BookmarkNodeRemoved()
385 if (!node->is_url() || inhibit_change_notifications_) in OnWillChangeBookmarkNode()
398 } else if (node->is_url()) { in BookmarkNodeChanged()
408 if (!node->is_url() || inhibit_change_notifications_) in OnWillChangeBookmarkMetaInfo()
417 if (!node->is_url()) in BookmarkMetaInfoChanged()
429 if (!node->is_url()) in BookmarkNodeFaviconChanged()
503 if (bookmark->is_url()) in Load()
[all …]
Dbookmark_node_data_unittest.cc83 EXPECT_TRUE(drag_data.elements[0].is_url); in TEST_F()
100 EXPECT_TRUE(drag_data.elements[0].is_url); in TEST_F()
115 EXPECT_TRUE(read_data.elements[0].is_url); in TEST_F()
146 EXPECT_FALSE(drag_data.elements[0].is_url); in TEST_F()
161 EXPECT_FALSE(read_data.elements[0].is_url); in TEST_F()
198 EXPECT_TRUE(read_child.is_url); in TEST_F()
203 EXPECT_TRUE(read_child.is_url); in TEST_F()
239 EXPECT_FALSE(read_folder.is_url); in TEST_F()
244 EXPECT_TRUE(read_url.is_url); in TEST_F()
Dbookmark_node_data.h51 bool is_url; member
146 bool has_single_url() const { return is_valid() && elements[0].is_url; } in has_single_url()
Dbookmark_pasteboard_helper_mac.mm107 element.is_url = true;
128 element.is_url = true;
140 if (element.is_url) {
184 if (element.is_url) {
Dbookmark_utils.cc35 if (element.is_url) { in CloneBookmarkNodeImpl()
202 if (node->is_url()) { in GetMostRecentlyAddedEntries()
266 if (selection.size() == 1 && selection[0]->is_url()) { in GetParentForNewNodes()
Dbookmark_node_data_views.cc29 if (elements.size() == 1 && elements[0].is_url) { in Write()
/external/chromium_org/chrome/browser/autocomplete/
Dhistory_provider.cc77 bool is_url) { in SpansFromTermMatch() argument
79 is_url ? ACMatchClassification::URL : ACMatchClassification::NONE; in SpansFromTermMatch()
Dhistory_provider.h43 bool is_url);
/external/chromium/chrome/browser/ui/views/autocomplete/
Dautocomplete_result_view.cc278 bool is_url = true; in DrawString() local
282 is_url = false; in DrawString()
292 if (!bidi_line.Open(text, base::i18n::IsRTL(), is_url)) in DrawString()
307 (base::i18n::IsRTL() && !is_url) ? (num_runs - run - 1) : run, in DrawString()
315 current_run->is_rtl = !is_url && (run_direction == UBIDI_RTL); in DrawString()
/external/chromium_org/ui/base/clipboard/
Dscoped_clipboard_writer.cc115 bool is_url) { in WriteTextOrURL() argument
123 if (is_url) { in WriteTextOrURL()
Dscoped_clipboard_writer.h71 void WriteTextOrURL(const base::string16& text, bool is_url);
/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_result_view.cc351 bool is_url = true; in DrawString() local
355 is_url = false; in DrawString()
365 if (!bidi_line.Open(text, base::i18n::IsRTL(), is_url)) in DrawString()
381 (base::i18n::IsRTL() && !is_url) ? (num_runs - run - 1) : run, in DrawString()
389 current_run->is_rtl = !is_url && (run_direction == UBIDI_RTL); in DrawString()
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_editor.cc137 if (node->is_url()) in ApplyEditsWithNoFolderChange()
161 if (node->is_url()) in ApplyEditsWithPossibleFolderChange()
Dbookmark_utils.cc74 if ((*parent_)->is_url()) { in FindNext()
82 if (child->is_url()) { in FindNext()
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_context_menu_controller_views.cc47 if (selection_.size() == 1 && selection_[0]->is_url()) { in BuildMenu()
132 if (selection_[0]->is_url()) { in ExecuteCommand()
/external/chromium/chrome/browser/importer/
Die_importer.cc49 bool is_url; member
263 ac.is_url = (ac.key.find(L"://") != std::wstring::npos); in ImportPasswordsIE6()
278 if (!ac_list[i].is_url || ac_list[i].data.size() < 2) in ImportPasswordsIE6()
309 if (ac_list[list_it].is_url) in ImportPasswordsIE6()
/external/chromium/chrome/browser/ui/cocoa/
Dstatus_bubble_mac.h70 void SetText(const string16& text, bool is_url);
/external/chromium_org/chrome/browser/ui/cocoa/
Dstatus_bubble_mac.h75 void SetText(const base::string16& text, bool is_url);

1234