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

Side by Side Diff: chrome/browser/ui/extensions/extension_install_ui_default.cc

Issue 514493002: Cleanup: Remove unneeded grit include in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@grit_clean_chromium_strings_401588_a
Patch Set: rebase Created 6 years, 3 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/extensions/extension_install_ui_default.h" 5 #include "chrome/browser/ui/extensions/extension_install_ui_default.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/chrome_notification_types.h" 9 #include "chrome/browser/chrome_notification_types.h"
10 #include "chrome/browser/extensions/extension_install_prompt.h" 10 #include "chrome/browser/extensions/extension_install_prompt.h"
(...skipping 18 matching lines...) Expand all
29 #include "chrome/browser/ui/tabs/tab_strip_model.h" 29 #include "chrome/browser/ui/tabs/tab_strip_model.h"
30 #include "chrome/common/url_constants.h" 30 #include "chrome/common/url_constants.h"
31 #include "chrome/grit/generated_resources.h" 31 #include "chrome/grit/generated_resources.h"
32 #include "components/infobars/core/confirm_infobar_delegate.h" 32 #include "components/infobars/core/confirm_infobar_delegate.h"
33 #include "components/infobars/core/infobar.h" 33 #include "components/infobars/core/infobar.h"
34 #include "components/search/search.h" 34 #include "components/search/search.h"
35 #include "content/public/browser/browser_thread.h" 35 #include "content/public/browser/browser_thread.h"
36 #include "content/public/browser/notification_service.h" 36 #include "content/public/browser/notification_service.h"
37 #include "content/public/browser/web_contents.h" 37 #include "content/public/browser/web_contents.h"
38 #include "extensions/common/extension.h" 38 #include "extensions/common/extension.h"
39 #include "grit/theme_resources.h"
40 #include "ui/base/l10n/l10n_util.h" 39 #include "ui/base/l10n/l10n_util.h"
41 40
42 #if defined(USE_ASH) 41 #if defined(USE_ASH)
43 #include "ash/shell.h" 42 #include "ash/shell.h"
44 #endif 43 #endif
45 44
46 using content::BrowserThread; 45 using content::BrowserThread;
47 using content::WebContents; 46 using content::WebContents;
48 using extensions::Extension; 47 using extensions::Extension;
49 48
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 browser->tab_strip_model()->GetActiveWebContents(); 283 browser->tab_strip_model()->GetActiveWebContents();
285 if (!web_contents) 284 if (!web_contents)
286 return; 285 return;
287 ErrorInfoBarDelegate::Create(InfoBarService::FromWebContents(web_contents), 286 ErrorInfoBarDelegate::Create(InfoBarService::FromWebContents(web_contents),
288 error); 287 error);
289 } 288 }
290 289
291 void ExtensionInstallUIDefault::SetUseAppInstalledBubble(bool use_bubble) { 290 void ExtensionInstallUIDefault::SetUseAppInstalledBubble(bool use_bubble) {
292 use_app_installed_bubble_ = use_bubble; 291 use_app_installed_bubble_ = use_bubble;
293 } 292 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698