Home
last modified time | relevance | path

Searched refs:PageTransition (Results 1 – 25 of 215) sorted by relevance

123456789

/external/chromium/chrome/browser/history/
Dvisit_database_unittest.cc72 VisitRow visit_info1(1, Time::Now(), 0, PageTransition::LINK, 0); in TEST_F()
78 PageTransition::TYPED, 0); in TEST_F()
84 PageTransition::LINK, 0); in TEST_F()
103 PageTransition::LINK, 0); in TEST_F()
108 visit_info1.visit_id, PageTransition::LINK, 0); in TEST_F()
113 visit_info2.visit_id, PageTransition::LINK, 0); in TEST_F()
145 modification.transition = PageTransition::TYPED; in TEST_F()
162 static_cast<PageTransition::Type>(PageTransition::LINK | in TEST_F()
163 PageTransition::CHAIN_START | in TEST_F()
164 PageTransition::CHAIN_END), in TEST_F()
[all …]
Dhistory_unittest.cc391 PageTransition::MANUAL_SUBFRAME, in TEST_F()
400 history->AddPage(test_url, NULL, 0, GURL(), PageTransition::LINK, in TEST_F()
424 PageTransition::LINK, in TEST_F()
432 PageTransition::LINK, in TEST_F()
443 PageTransition::LINK, in TEST_F()
468 PageTransition::LINK, first_redirects, in TEST_F()
477 EXPECT_EQ(PageTransition::LINK | in TEST_F()
478 PageTransition::CHAIN_START, query_url_visits_[0].transition); in TEST_F()
487 EXPECT_EQ(PageTransition::SERVER_REDIRECT | in TEST_F()
488 PageTransition::CHAIN_END, query_url_visits_[0].transition); in TEST_F()
[all …]
Dexpire_history_backend.cc75 PageTransition::AUTO_SUBFRAME, in Read()
89 int no_qualifier = PageTransition::StripQualifier(visit.transition); in ShouldArchiveVisit()
93 if (no_qualifier == PageTransition::TYPED || in ShouldArchiveVisit()
94 no_qualifier == PageTransition::AUTO_BOOKMARK || in ShouldArchiveVisit()
95 no_qualifier == PageTransition::START_PAGE) in ShouldArchiveVisit()
100 if ((no_qualifier == PageTransition::LINK || in ShouldArchiveVisit()
101 no_qualifier == PageTransition::FORM_SUBMIT || in ShouldArchiveVisit()
102 no_qualifier == PageTransition::KEYWORD || in ShouldArchiveVisit()
103 no_qualifier == PageTransition::GENERATED) && in ShouldArchiveVisit()
104 visit.transition & PageTransition::CHAIN_END) in ShouldArchiveVisit()
[all …]
Dhistory_backend.cc313 PageTransition::Type transition_type, in UpdateSegments()
319 if (!PageTransition::IsMainFrame(transition_type)) in UpdateSegments()
323 PageTransition::Type t = PageTransition::StripQualifier(transition_type); in UpdateSegments()
326 if (t == PageTransition::TYPED || t == PageTransition::AUTO_BOOKMARK) { in UpdateSegments()
398 PageTransition::Type transition = in AddPage()
399 PageTransition::StripQualifier(request->transition); in AddPage()
400 bool is_keyword_generated = (transition == PageTransition::KEYWORD_GENERATED); in AddPage()
404 PageTransition::Type t = request->transition | in AddPage()
405 PageTransition::CHAIN_START | PageTransition::CHAIN_END; in AddPage()
421 PageTransition::Type redirect_info = PageTransition::CHAIN_START; in AddPage()
[all …]
Dvisit_database.cc94 visit->transition = PageTransition::FromInt(statement.ColumnInt(4)); in FillVisitRow()
273 PageTransition::Type transition, in GetVisitsInRangeForTransition()
290 statement.BindInt(2, PageTransition::CORE_MASK); in GetVisitsInRangeForTransition()
321 statement.BindInt(2, PageTransition::CHAIN_END); in GetVisibleVisitsInRange()
322 statement.BindInt(3, PageTransition::CORE_MASK); in GetVisibleVisitsInRange()
323 statement.BindInt(4, PageTransition::AUTO_SUBFRAME); in GetVisibleVisitsInRange()
324 statement.BindInt(5, PageTransition::MANUAL_SUBFRAME); in GetVisibleVisitsInRange()
325 statement.BindInt(6, PageTransition::KEYWORD_GENERATED); in GetVisibleVisitsInRange()
399 statement.BindInt(1, PageTransition::IS_REDIRECT_MASK); in GetRedirectFromVisit()
Dhistory_backend_unittest.cc91 redirects, PageTransition::LINK, history::SOURCE_BROWSED, true)); in AddRedirectChain()
111 redirects, PageTransition::CLIENT_REDIRECT, in AddClientRedirect()
456 PageTransition::KEYWORD_GENERATED, in TEST_F()
506 EXPECT_TRUE(transition2 & PageTransition::CHAIN_END); in TEST_F()
511 EXPECT_TRUE(transition1 & PageTransition::CHAIN_END); in TEST_F()
512 EXPECT_TRUE(transition2 & PageTransition::CHAIN_END); in TEST_F()
517 EXPECT_FALSE(transition1 & PageTransition::CHAIN_END); in TEST_F()
518 EXPECT_TRUE(transition2 & PageTransition::CHAIN_END); in TEST_F()
598 PageTransition::GetQualifier(PageTransition::TYPED), in TEST_F()
619 backend_->AddPageVisit(url, base::Time::Now(), 0, PageTransition::TYPED, in TEST_F()
[all …]
/external/chromium/chrome/browser/sync/glue/
Dsession_model_associator.cc312 case PageTransition::LINK: in PopulateSessionSpecificsNavigation()
316 case PageTransition::TYPED: in PopulateSessionSpecificsNavigation()
320 case PageTransition::AUTO_BOOKMARK: in PopulateSessionSpecificsNavigation()
324 case PageTransition::AUTO_SUBFRAME: in PopulateSessionSpecificsNavigation()
328 case PageTransition::MANUAL_SUBFRAME: in PopulateSessionSpecificsNavigation()
332 case PageTransition::GENERATED: in PopulateSessionSpecificsNavigation()
336 case PageTransition::START_PAGE: in PopulateSessionSpecificsNavigation()
340 case PageTransition::FORM_SUBMIT: in PopulateSessionSpecificsNavigation()
344 case PageTransition::RELOAD: in PopulateSessionSpecificsNavigation()
348 case PageTransition::KEYWORD: in PopulateSessionSpecificsNavigation()
[all …]
/external/chromium/chrome/browser/tabs/
Dtab_strip_model_unittest.cc107 PageTransition::Type transition, in CreateTabContentsForURL()
164 controller().LoadURL(GURL(WideToUTF16(url)), GURL(), PageTransition::LINK); in LoadURL()
660 contents, PageTransition::LINK, false); in GetInsertionIndex()
785 fg_link_contents, PageTransition::LINK, true); in TEST_F()
800 fg_nonlink_contents, PageTransition::AUTO_BOOKMARK, true); in TEST_F()
1182 homepage_contents, -1, PageTransition::AUTO_BOOKMARK, in TEST_F()
1188 typed_page_contents, -1, PageTransition::TYPED, in TEST_F()
1200 middle_click_contents1, -1, PageTransition::LINK, in TEST_F()
1204 middle_click_contents2, -1, PageTransition::LINK, in TEST_F()
1208 middle_click_contents3, -1, PageTransition::LINK, in TEST_F()
[all …]
/external/chromium/chrome/browser/sessions/
Dsession_service_unittest.cc102 PageTransition::QUALIFIER_MASK); in CreateAndWriteSessionWithOneTab()
151 PageTransition::QUALIFIER_MASK); in TEST_F()
179 PageTransition::QUALIFIER_MASK); in TEST_F()
198 PageTransition::QUALIFIER_MASK); in TEST_F()
201 PageTransition::AUTO_BOOKMARK); in TEST_F()
229 PageTransition::QUALIFIER_MASK); in TEST_F()
232 PageTransition::AUTO_BOOKMARK); in TEST_F()
265 PageTransition::QUALIFIER_MASK); in TEST_F()
268 PageTransition::AUTO_BOOKMARK); in TEST_F()
320 PageTransition::QUALIFIER_MASK); in TEST_F()
[all …]
Dsession_types.h41 PageTransition::Type transition);
67 void set_transition(PageTransition::Type transition) { in set_transition()
70 PageTransition::Type transition() const { return transition_; } in transition()
92 PageTransition::Type transition_;
Dsession_types.cc15 : transition_(PageTransition::TYPED), in TabNavigation()
25 PageTransition::Type transition) in TabNavigation()
67 PageTransition::RELOAD, in ToNavigationEntry()
/external/chromium/chrome/common/
Dmetrics_helpers.cc235 PageTransition::Type origin, in RecordLoadEvent()
248 switch (PageTransition::StripQualifier(origin)) { in RecordLoadEvent()
251 case PageTransition::LINK: in RecordLoadEvent()
252 case PageTransition::MANUAL_SUBFRAME: in RecordLoadEvent()
256 case PageTransition::TYPED: in RecordLoadEvent()
260 case PageTransition::AUTO_BOOKMARK: in RecordLoadEvent()
264 case PageTransition::AUTO_SUBFRAME: in RecordLoadEvent()
265 case PageTransition::RELOAD: in RecordLoadEvent()
269 case PageTransition::GENERATED: in RecordLoadEvent()
270 case PageTransition::KEYWORD: in RecordLoadEvent()
[all …]
/external/chromium/chrome/browser/tab_contents/
Dweb_contents_unittest.cc42 params->transition = PageTransition::TYPED; in InitNavigateParams()
251 controller().LoadURL(kGURL, GURL(), PageTransition::TYPED); in TEST_F()
274 controller().LoadURL(url, GURL(), PageTransition::TYPED); in TEST_F()
304 controller().LoadURL(url, GURL(), PageTransition::TYPED); in TEST_F()
314 controller().LoadURL(url2, GURL(), PageTransition::TYPED); in TEST_F()
357 controller().LoadURL(url, GURL(), PageTransition::TYPED); in TEST_F()
370 controller().LoadURL(url2, GURL(), PageTransition::TYPED); in TEST_F()
398 controller().LoadURL(url, GURL(), PageTransition::TYPED); in TEST_F()
409 contents2.controller().LoadURL(url, GURL(), PageTransition::TYPED); in TEST_F()
414 controller().LoadURL(url2a, GURL(), PageTransition::TYPED); in TEST_F()
[all …]
Dinfobar_delegate.cc25 (PageTransition::StripQualifier(details.entry->transition_type()) == in ShouldExpire()
26 PageTransition::RELOAD); in ShouldExpire()
/external/chromium/chrome/browser/
Dload_notification_details.h22 PageTransition::Type origin, in LoadNotificationDetails()
35 PageTransition::Type origin() const { return origin_; } in origin()
44 PageTransition::Type origin_; // type of action that caused the load
/external/chromium/chrome/browser/printing/
Dprint_preview_tab_controller.cc106 PageTransition::Type transition_type = in Observe()
111 if (transition_type == PageTransition::RELOAD || in Observe()
118 transition_type == PageTransition::LINK && in Observe()
127 transition_type == PageTransition::FORWARD_BACK && in Observe()
170 PageTransition::LINK); in CreatePrintPreviewTab()
/external/chromium/chrome/browser/chromeos/offline/
Doffline_load_page_unittest.cc67 InitNavigateParams(&params, page_id, GURL(url), PageTransition::TYPED); in Navigate()
94 controller().LoadURL(GURL(kURL2), GURL(), PageTransition::TYPED); in TEST_F()
121 controller().LoadURL(GURL(kURL2), GURL(), PageTransition::TYPED); in TEST_F()
/external/chromium/chrome/browser/accessibility/
Drenderer_accessibility_browsertest.cc103 browser()->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::TYPED); in IN_PROC_BROWSER_TEST_F()
165 browser()->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::TYPED); in IN_PROC_BROWSER_TEST_F()
196 browser()->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::TYPED); in IN_PROC_BROWSER_TEST_F()
225 browser()->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::TYPED); in IN_PROC_BROWSER_TEST_F()
264 browser()->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::TYPED); in IN_PROC_BROWSER_TEST_F()
284 browser()->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::TYPED); in IN_PROC_BROWSER_TEST_F()
330 browser()->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::TYPED); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_blocking_page_unittest.cc104 InitNavigateParams(&params, page_id, GURL(url), PageTransition::TYPED); in Navigate()
116 PageTransition::TYPED); in GoBackCrossSite()
181 controller().LoadURL(GURL(kBadURL), GURL(), PageTransition::TYPED); in TEST_F()
213 controller().LoadURL(GURL(kBadURL), GURL(), PageTransition::TYPED); in TEST_F()
457 controller().LoadURL(GURL(kBadURL), GURL(), PageTransition::TYPED); in TEST_F()
500 controller().LoadURL(GURL(kBadURL), GURL(), PageTransition::TYPED); in TEST_F()
533 controller().LoadURL(GURL(kBadURL), GURL(), PageTransition::TYPED); in TEST_F()
564 controller().LoadURL(GURL(kBadURL), GURL(), PageTransition::TYPED); in TEST_F()
/external/chromium/chrome/browser/extensions/
Dextension_webnavigation_api.cc83 PageTransition::Type transition_type) { in DispatchOnCommitted()
91 PageTransition::CoreTransitionString(transition_type)); in DispatchOnCommitted()
93 if (transition_type & PageTransition::CLIENT_REDIRECT) in DispatchOnCommitted()
95 if (transition_type & PageTransition::SERVER_REDIRECT) in DispatchOnCommitted()
97 if (transition_type & PageTransition::FORWARD_BACK) in DispatchOnCommitted()
322 PageTransition::Type transition_type) { in DidCommitProvisionalLoadForFrame()
389 PageTransition::Type transition) { in DidOpenURL()
428 PageTransition::Type transition_type) { in NavigatedReferenceFragment()
Dextension_webnavigation_api.h98 PageTransition::Type transition_type) OVERRIDE;
109 PageTransition::Type transition);
121 PageTransition::Type transition_type);
/external/chromium/chrome/browser/ui/webui/
Dhtml_dialog_tab_contents_delegate_unittest.cc62 PageTransition::TYPED, history::SOURCE_SYNCED, false)); in TEST_F()
78 NEW_FOREGROUND_TAB, PageTransition::LINK); in TEST_F()
101 NEW_FOREGROUND_TAB, PageTransition::LINK); in TEST_F()
/external/chromium/chrome/browser/ui/
Dbrowser_navigator_browsertest.cc30 PageTransition::LINK); in MakeNavigateParams()
105 browser()->AddSelectedTabWithURL(singleton_url1, PageTransition::LINK); in IN_PROC_BROWSER_TEST_F()
106 browser()->AddSelectedTabWithURL(url, PageTransition::LINK); in IN_PROC_BROWSER_TEST_F()
587 browser()->AddSelectedTabWithURL(url, PageTransition::LINK); in IN_PROC_BROWSER_TEST_F()
618 browser()->AddSelectedTabWithURL(singleton_url1, PageTransition::LINK); in IN_PROC_BROWSER_TEST_F()
619 browser()->AddSelectedTabWithURL(url, PageTransition::LINK); in IN_PROC_BROWSER_TEST_F()
650 browser()->AddSelectedTabWithURL(singleton_url1, PageTransition::LINK); in IN_PROC_BROWSER_TEST_F()
651 browser()->AddSelectedTabWithURL(url, PageTransition::LINK); in IN_PROC_BROWSER_TEST_F()
682 browser()->AddSelectedTabWithURL(singleton_url1, PageTransition::LINK); in IN_PROC_BROWSER_TEST_F()
683 browser()->AddSelectedTabWithURL(url, PageTransition::LINK); in IN_PROC_BROWSER_TEST_F()
[all …]
Dbrowser_navigator.h46 PageTransition::Type a_transition);
95 PageTransition::Type transition;
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit.h50 PageTransition::Type transition,
239 return (paste_and_go_transition_ != PageTransition::TYPED); in is_paste_and_search()
253 PageTransition::Type transition,
532 mutable PageTransition::Type paste_and_go_transition_;

123456789