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

Side by Side Diff: chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc

Issue 1144193005: Fix a lot of support links. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: first round Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/browser_content_setting_bubble_model_delegate.h" 5 #include "chrome/browser/ui/browser_content_setting_bubble_model_delegate.h"
6 6
7 #include "chrome/browser/content_settings/chrome_content_settings_utils.h" 7 #include "chrome/browser/content_settings/chrome_content_settings_utils.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_tabstrip.h" 9 #include "chrome/browser/ui/browser_tabstrip.h"
10 #include "chrome/browser/ui/chrome_pages.h" 10 #include "chrome/browser/ui/chrome_pages.h"
11 #include "chrome/browser/ui/tab_dialogs.h" 11 #include "chrome/browser/ui/tab_dialogs.h"
12 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "components/google/core/browser/google_util.h" 13 #include "components/google/core/browser/google_util.h"
14 14
15 // The URL for when the user clicks "learn more" on the mixed scripting page 15 // The URL for when the user clicks "learn more" on the mixed scripting page
16 // icon bubble. 16 // icon bubble.
17 const char kInsecureScriptHelpUrl[] = 17 const char kInsecureScriptHelpUrl[] =
18 "https://support.google.com/chrome/bin/answer.py?answer=1342714"; 18 "https://support.google.com/chrome/answer/1342714";
19 19
20 BrowserContentSettingBubbleModelDelegate:: 20 BrowserContentSettingBubbleModelDelegate::
21 BrowserContentSettingBubbleModelDelegate(Browser* browser) : browser_(browser) { 21 BrowserContentSettingBubbleModelDelegate(Browser* browser) : browser_(browser) {
22 } 22 }
23 23
24 BrowserContentSettingBubbleModelDelegate:: 24 BrowserContentSettingBubbleModelDelegate::
25 ~BrowserContentSettingBubbleModelDelegate() { 25 ~BrowserContentSettingBubbleModelDelegate() {
26 } 26 }
27 27
28 void BrowserContentSettingBubbleModelDelegate::ShowCollectedCookiesDialog( 28 void BrowserContentSettingBubbleModelDelegate::ShowCollectedCookiesDialog(
(...skipping 23 matching lines...) Expand all
52 } 52 }
53 53
54 void BrowserContentSettingBubbleModelDelegate::ShowLearnMorePage( 54 void BrowserContentSettingBubbleModelDelegate::ShowLearnMorePage(
55 ContentSettingsType type) { 55 ContentSettingsType type) {
56 if (type != CONTENT_SETTINGS_TYPE_PLUGINS) 56 if (type != CONTENT_SETTINGS_TYPE_PLUGINS)
57 return; 57 return;
58 chrome::AddSelectedTabWithURL(browser_, 58 chrome::AddSelectedTabWithURL(browser_,
59 GURL(chrome::kBlockedPluginLearnMoreURL), 59 GURL(chrome::kBlockedPluginLearnMoreURL),
60 ui::PAGE_TRANSITION_LINK); 60 ui::PAGE_TRANSITION_LINK);
61 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698