From 2905f74ce902dbf21dcbbf7ed3537f803f027630 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Thu, 13 Oct 2011 03:51:58 +0000 Subject: Move PageTransition into content namespace. While I'm touching all these files, I've also updated it to use the enum naming convention in the Content API. BUG=98716 Review URL: http://codereview.chromium.org/8253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105254 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/plugin_observer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/plugin_observer.cc') diff --git a/chrome/browser/plugin_observer.cc b/chrome/browser/plugin_observer.cc index 13fe1016..c909c69 100644 --- a/chrome/browser/plugin_observer.cc +++ b/chrome/browser/plugin_observer.cc @@ -70,7 +70,7 @@ bool PluginInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) { owner()->tab_contents()->OpenURL( google_util::AppendGoogleLocaleParam(GURL(GetLearnMoreURL())), GURL(), (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, - PageTransition::LINK); + content::PAGE_TRANSITION_LINK); return false; } @@ -255,7 +255,7 @@ string16 OutdatedPluginInfoBarDelegate::GetButtonLabel( bool OutdatedPluginInfoBarDelegate::Accept() { UserMetrics::RecordAction(UserMetricsAction("OutdatedPluginInfobar.Update")); owner()->tab_contents()->OpenURL(update_url_, GURL(), NEW_FOREGROUND_TAB, - PageTransition::LINK); + content::PAGE_TRANSITION_LINK); return false; } -- cgit v1.1