summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_observer.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 03:51:58 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 03:51:58 +0000
commit2905f74ce902dbf21dcbbf7ed3537f803f027630 (patch)
tree0371f49d1768902bf69e0130b55ec104258f5cf9 /chrome/browser/plugin_observer.cc
parent49098f7091448e437190f23cc67a705df4abd079 (diff)
downloadchromium_src-2905f74ce902dbf21dcbbf7ed3537f803f027630.zip
chromium_src-2905f74ce902dbf21dcbbf7ed3537f803f027630.tar.gz
chromium_src-2905f74ce902dbf21dcbbf7ed3537f803f027630.tar.bz2
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
Diffstat (limited to 'chrome/browser/plugin_observer.cc')
-rw-r--r--chrome/browser/plugin_observer.cc4
1 files changed, 2 insertions, 2 deletions
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;
}