Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(986)

Unified Diff: chrome/browser/ui/find_bar/find_bar_controller.cc

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/find_bar/find_bar_controller.cc
===================================================================
--- chrome/browser/ui/find_bar/find_bar_controller.cc (revision 105162)
+++ chrome/browser/ui/find_bar/find_bar_controller.cc (working copy)
@@ -130,13 +130,13 @@
if (source_controller == &tab_contents_->controller()) {
content::LoadCommittedDetails* commit_details =
Details<content::LoadCommittedDetails>(details).ptr();
- PageTransition::Type transition_type =
+ content::PageTransition transition_type =
commit_details->entry->transition_type();
// We hide the FindInPage window when the user navigates away, except on
// reload.
if (find_bar_->IsFindBarVisible()) {
- if (PageTransition::StripQualifier(transition_type) !=
- PageTransition::RELOAD) {
+ if (content::PageTransitionStripQualifier(transition_type) !=
+ content::PAGE_TRANSITION_RELOAD) {
EndFindSession(kKeepSelection);
} else {
// On Reload we want to make sure FindNext is converted to a full Find
« no previous file with comments | « chrome/browser/ui/cocoa/view_id_util_browsertest.mm ('k') | chrome/browser/ui/find_bar/find_bar_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698