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

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

Issue 333723002: Componentize google_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + build fix Created 6 years, 6 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 | Annotate | Revision Log
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/google/google_util.h"
8 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_dialogs.h" 8 #include "chrome/browser/ui/browser_dialogs.h"
10 #include "chrome/browser/ui/browser_tabstrip.h" 9 #include "chrome/browser/ui/browser_tabstrip.h"
11 #include "chrome/browser/ui/chrome_pages.h" 10 #include "chrome/browser/ui/chrome_pages.h"
12 #include "chrome/common/url_constants.h" 11 #include "chrome/common/url_constants.h"
12 #include "components/google/core/browser/google_util.h"
13 13
14 // The URL for when the user clicks "learn more" on the mixed scripting page 14 // The URL for when the user clicks "learn more" on the mixed scripting page
15 // icon bubble. 15 // icon bubble.
16 const char kInsecureScriptHelpUrl[] = 16 const char kInsecureScriptHelpUrl[] =
17 "https://support.google.com/chrome/bin/answer.py?answer=1342714"; 17 "https://support.google.com/chrome/bin/answer.py?answer=1342714";
18 18
19 BrowserContentSettingBubbleModelDelegate:: 19 BrowserContentSettingBubbleModelDelegate::
20 BrowserContentSettingBubbleModelDelegate(Browser* browser) : browser_(browser) { 20 BrowserContentSettingBubbleModelDelegate(Browser* browser) : browser_(browser) {
21 } 21 }
22 22
(...skipping 26 matching lines...) Expand all
49 } 49 }
50 50
51 void BrowserContentSettingBubbleModelDelegate::ShowLearnMorePage( 51 void BrowserContentSettingBubbleModelDelegate::ShowLearnMorePage(
52 ContentSettingsType type) { 52 ContentSettingsType type) {
53 if (type != CONTENT_SETTINGS_TYPE_PLUGINS) 53 if (type != CONTENT_SETTINGS_TYPE_PLUGINS)
54 return; 54 return;
55 chrome::AddSelectedTabWithURL(browser_, 55 chrome::AddSelectedTabWithURL(browser_,
56 GURL(chrome::kBlockedPluginLearnMoreURL), 56 GURL(chrome::kBlockedPluginLearnMoreURL),
57 content::PAGE_TRANSITION_LINK); 57 content::PAGE_TRANSITION_LINK);
58 } 58 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/navigation_correction_tab_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698