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

Side by Side Diff: chrome/browser/plugin_installer_infobar_delegate.cc

Issue 8590033: Remove some unnecessary includes of view_messages.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/pdf_unsupported_feature.cc ('k') | chrome/browser/plugin_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/plugin_installer_infobar_delegate.h" 5 #include "chrome/browser/plugin_installer_infobar_delegate.h"
6 6
7 #include "chrome/browser/google/google_util.h" 7 #include "chrome/browser/google/google_util.h"
8 #include "chrome/browser/infobars/infobar_tab_helper.h" 8 #include "chrome/browser/infobars/infobar_tab_helper.h"
9 #include "content/browser/renderer_host/render_view_host.h" 9 #include "content/browser/renderer_host/render_view_host.h"
10 #include "content/browser/tab_contents/tab_contents.h" 10 #include "content/browser/tab_contents/tab_contents.h"
11 #include "content/common/view_messages.h"
12 #include "grit/generated_resources.h" 11 #include "grit/generated_resources.h"
13 #include "grit/locale_settings.h" 12 #include "grit/locale_settings.h"
14 #include "grit/theme_resources_standard.h" 13 #include "grit/theme_resources_standard.h"
15 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
16 #include "ui/base/resource/resource_bundle.h" 15 #include "ui/base/resource/resource_bundle.h"
17 #include "webkit/plugins/npapi/default_plugin_shared.h" 16 #include "webkit/plugins/npapi/default_plugin_shared.h"
18 17
19 PluginInstallerInfoBarDelegate::PluginInstallerInfoBarDelegate( 18 PluginInstallerInfoBarDelegate::PluginInstallerInfoBarDelegate(
20 InfoBarTabHelper* infobar_helper, gfx::NativeWindow window) 19 InfoBarTabHelper* infobar_helper, gfx::NativeWindow window)
21 : ConfirmInfoBarDelegate(infobar_helper), 20 : ConfirmInfoBarDelegate(infobar_helper),
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 68
70 bool PluginInstallerInfoBarDelegate::LinkClicked( 69 bool PluginInstallerInfoBarDelegate::LinkClicked(
71 WindowOpenDisposition disposition) { 70 WindowOpenDisposition disposition) {
72 owner()->tab_contents()->OpenURL(google_util::AppendGoogleLocaleParam(GURL( 71 owner()->tab_contents()->OpenURL(google_util::AppendGoogleLocaleParam(GURL(
73 "https://www.google.com/support/chrome/bin/answer.py?answer=142064")), 72 "https://www.google.com/support/chrome/bin/answer.py?answer=142064")),
74 GURL(), 73 GURL(),
75 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, 74 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition,
76 content::PAGE_TRANSITION_LINK); 75 content::PAGE_TRANSITION_LINK);
77 return false; 76 return false;
78 } 77 }
OLDNEW
« no previous file with comments | « chrome/browser/pdf_unsupported_feature.cc ('k') | chrome/browser/plugin_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698