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

Side by Side Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.cc

Issue 12578008: Move CrxFile, FileReader, ExtensionResource to src/extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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/webui/ntp/app_launcher_handler.h" 5 #include "chrome/browser/ui/webui/ntp/app_launcher_handler.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 18 matching lines...) Expand all
29 #include "chrome/browser/ui/browser_window.h" 29 #include "chrome/browser/ui/browser_window.h"
30 #include "chrome/browser/ui/extensions/application_launch.h" 30 #include "chrome/browser/ui/extensions/application_launch.h"
31 #include "chrome/browser/ui/extensions/extension_enable_flow.h" 31 #include "chrome/browser/ui/extensions/extension_enable_flow.h"
32 #include "chrome/browser/ui/tabs/tab_strip_model.h" 32 #include "chrome/browser/ui/tabs/tab_strip_model.h"
33 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h" 33 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h"
34 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" 34 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
35 #include "chrome/common/chrome_notification_types.h" 35 #include "chrome/common/chrome_notification_types.h"
36 #include "chrome/common/extensions/extension.h" 36 #include "chrome/common/extensions/extension.h"
37 #include "chrome/common/extensions/extension_constants.h" 37 #include "chrome/common/extensions/extension_constants.h"
38 #include "chrome/common/extensions/extension_icon_set.h" 38 #include "chrome/common/extensions/extension_icon_set.h"
39 #include "chrome/common/extensions/extension_resource.h"
40 #include "chrome/common/pref_names.h" 39 #include "chrome/common/pref_names.h"
41 #include "chrome/common/url_constants.h" 40 #include "chrome/common/url_constants.h"
42 #include "chrome/common/web_apps.h" 41 #include "chrome/common/web_apps.h"
43 #include "components/user_prefs/pref_registry_syncable.h" 42 #include "components/user_prefs/pref_registry_syncable.h"
44 #include "content/public/browser/notification_service.h" 43 #include "content/public/browser/notification_service.h"
45 #include "content/public/browser/web_ui.h" 44 #include "content/public/browser/web_ui.h"
46 #include "content/public/common/favicon_url.h" 45 #include "content/public/common/favicon_url.h"
47 #include "googleurl/src/gurl.h" 46 #include "googleurl/src/gurl.h"
48 #include "grit/browser_resources.h" 47 #include "grit/browser_resources.h"
49 #include "grit/generated_resources.h" 48 #include "grit/generated_resources.h"
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 ExtensionUninstallDialog* AppLauncherHandler::GetExtensionUninstallDialog() { 810 ExtensionUninstallDialog* AppLauncherHandler::GetExtensionUninstallDialog() {
812 if (!extension_uninstall_dialog_.get()) { 811 if (!extension_uninstall_dialog_.get()) {
813 Browser* browser = chrome::FindBrowserWithWebContents( 812 Browser* browser = chrome::FindBrowserWithWebContents(
814 web_ui()->GetWebContents()); 813 web_ui()->GetWebContents());
815 extension_uninstall_dialog_.reset( 814 extension_uninstall_dialog_.reset(
816 ExtensionUninstallDialog::Create(extension_service_->profile(), 815 ExtensionUninstallDialog::Create(extension_service_->profile(),
817 browser, this)); 816 browser, this));
818 } 817 }
819 return extension_uninstall_dialog_.get(); 818 return extension_uninstall_dialog_.get();
820 } 819 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_settings_handler.h ('k') | chrome/browser/ui/webui/ntp/favicon_webui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698