diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-10 18:15:08 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-10 18:15:08 +0000 |
commit | 91a79239222020a645e69e6db55d24e4d5bb2ca9 (patch) | |
tree | db4d7184fea9b8af9a939822be8a0f3d9b96c09a /chrome/browser/external_tab_container_win.cc | |
parent | bcfc82aa62de3794364854fabf908b1ebe0aa8de (diff) | |
download | chromium_src-91a79239222020a645e69e6db55d24e4d5bb2ca9.zip chromium_src-91a79239222020a645e69e6db55d24e4d5bb2ca9.tar.gz chromium_src-91a79239222020a645e69e6db55d24e4d5bb2ca9.tar.bz2 |
chromeos: Update help URLs.
This also moves some untranslatable URL strings out of .grd
files and into code so we don't duplicate them per-language.
BUG=chromium-os:8117
TEST=trybots; also built and ran the chrome os version
Review URL: http://codereview.chromium.org/4495001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container_win.cc')
-rw-r--r-- | chrome/browser/external_tab_container_win.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/external_tab_container_win.cc b/chrome/browser/external_tab_container_win.cc index eb336b9..88a1da7 100644 --- a/chrome/browser/external_tab_container_win.cc +++ b/chrome/browser/external_tab_container_win.cc @@ -19,6 +19,7 @@ #include "chrome/browser/browser_window.h" #include "chrome/browser/debugger/devtools_manager.h" #include "chrome/browser/debugger/devtools_toggle_action.h" +#include "chrome/browser/google/google_util.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/load_notification_details.h" #include "chrome/browser/page_info_window.h" @@ -27,9 +28,9 @@ #include "chrome/browser/renderer_host/render_view_host.h" #include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h" #include "chrome/browser/tab_contents/provisional_load_details.h" -#include "chrome/browser/views/tab_contents/render_view_context_menu_views.h" #include "chrome/browser/tab_contents/tab_contents.h" #include "chrome/browser/views/page_info_bubble_view.h" +#include "chrome/browser/views/tab_contents/render_view_context_menu_views.h" #include "chrome/browser/views/tab_contents/tab_contents_container.h" #include "chrome/common/bindings_policy.h" #include "chrome/common/chrome_constants.h" @@ -38,6 +39,7 @@ #include "chrome/common/native_web_keyboard_event.h" #include "chrome/common/notification_service.h" #include "chrome/common/page_transition_types.h" +#include "chrome/common/url_constants.h" #include "chrome/test/automation/automation_messages.h" #include "grit/generated_resources.h" #include "grit/locale_settings.h" @@ -66,7 +68,8 @@ class ExternalTabPageInfoBubbleView : public PageInfoBubbleView { } // LinkController methods: virtual void LinkActivated(views::Link* source, int event_flags) { - GURL url = GURL(l10n_util::GetStringUTF16(IDS_PAGE_INFO_HELP_CENTER)); + GURL url = google_util::AppendGoogleLocaleParam( + GURL(chrome::kPageInfoHelpCenterURL)); container_->OpenURLFromTab(container_->tab_contents(), url, GURL(), NEW_FOREGROUND_TAB, PageTransition::LINK); } |