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

Side by Side Diff: chrome/browser/extensions/extension_host.cc

Issue 6122006: Cleanup: Remove unneeded includes of pref_names.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/extensions/extension_host.h" 5 #include "chrome/browser/extensions/extension_host.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "app/keyboard_codes.h" 9 #include "app/keyboard_codes.h"
10 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
(...skipping 25 matching lines...) Expand all
36 #include "chrome/browser/tab_contents/tab_contents.h" 36 #include "chrome/browser/tab_contents/tab_contents.h"
37 #include "chrome/browser/tab_contents/tab_contents_view.h" 37 #include "chrome/browser/tab_contents/tab_contents_view.h"
38 #include "chrome/browser/themes/browser_theme_provider.h" 38 #include "chrome/browser/themes/browser_theme_provider.h"
39 #include "chrome/browser/ui/app_modal_dialogs/message_box_handler.h" 39 #include "chrome/browser/ui/app_modal_dialogs/message_box_handler.h"
40 #include "chrome/browser/ui/browser.h" 40 #include "chrome/browser/ui/browser.h"
41 #include "chrome/common/bindings_policy.h" 41 #include "chrome/common/bindings_policy.h"
42 #include "chrome/common/extensions/extension.h" 42 #include "chrome/common/extensions/extension.h"
43 #include "chrome/common/extensions/extension_constants.h" 43 #include "chrome/common/extensions/extension_constants.h"
44 #include "chrome/common/native_web_keyboard_event.h" 44 #include "chrome/common/native_web_keyboard_event.h"
45 #include "chrome/common/notification_service.h" 45 #include "chrome/common/notification_service.h"
46 #include "chrome/common/pref_names.h"
47 #include "chrome/common/render_messages.h" 46 #include "chrome/common/render_messages.h"
48 #include "chrome/common/render_messages_params.h" 47 #include "chrome/common/render_messages_params.h"
49 #include "chrome/common/url_constants.h" 48 #include "chrome/common/url_constants.h"
50 #include "chrome/common/view_types.h" 49 #include "chrome/common/view_types.h"
51 #include "grit/browser_resources.h" 50 #include "grit/browser_resources.h"
52 #include "grit/generated_resources.h" 51 #include "grit/generated_resources.h"
53 #include "webkit/glue/context_menu.h" 52 #include "webkit/glue/context_menu.h"
54 53
55 #if defined(TOOLKIT_VIEWS) 54 #if defined(TOOLKIT_VIEWS)
56 #include "views/widget/widget.h" 55 #include "views/widget/widget.h"
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 // Extensions hosted in ExternalTabContainer objects may not have 793 // Extensions hosted in ExternalTabContainer objects may not have
795 // an associated browser. 794 // an associated browser.
796 Browser* browser = GetBrowser(); 795 Browser* browser = GetBrowser();
797 if (browser) 796 if (browser)
798 window_id = ExtensionTabUtil::GetWindowId(browser); 797 window_id = ExtensionTabUtil::GetWindowId(browser);
799 } else if (extension_host_type_ != ViewType::EXTENSION_BACKGROUND_PAGE) { 798 } else if (extension_host_type_ != ViewType::EXTENSION_BACKGROUND_PAGE) {
800 NOTREACHED(); 799 NOTREACHED();
801 } 800 }
802 return window_id; 801 return window_id;
803 } 802 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/extensions/external_policy_extension_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698