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

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

Issue 6705012: Move the rest of the content browser->renderer messages to content. Also move drag related messa... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « no previous file | chrome/browser/notifications/balloon_host.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/extensions/extension_host.h" 5 #include "chrome/browser/extensions/extension_host.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/renderer_preferences_util.h" 25 #include "chrome/browser/renderer_preferences_util.h"
26 #include "chrome/browser/tab_contents/popup_menu_helper_mac.h" 26 #include "chrome/browser/tab_contents/popup_menu_helper_mac.h"
27 #include "chrome/browser/themes/browser_theme_provider.h" 27 #include "chrome/browser/themes/browser_theme_provider.h"
28 #include "chrome/browser/ui/app_modal_dialogs/message_box_handler.h" 28 #include "chrome/browser/ui/app_modal_dialogs/message_box_handler.h"
29 #include "chrome/browser/ui/browser.h" 29 #include "chrome/browser/ui/browser.h"
30 #include "chrome/common/chrome_constants.h" 30 #include "chrome/common/chrome_constants.h"
31 #include "chrome/common/bindings_policy.h" 31 #include "chrome/common/bindings_policy.h"
32 #include "chrome/common/extensions/extension.h" 32 #include "chrome/common/extensions/extension.h"
33 #include "chrome/common/extensions/extension_constants.h" 33 #include "chrome/common/extensions/extension_constants.h"
34 #include "chrome/common/render_messages.h" 34 #include "chrome/common/render_messages.h"
35 #include "chrome/common/render_messages_params.h"
36 #include "chrome/common/url_constants.h" 35 #include "chrome/common/url_constants.h"
37 #include "chrome/common/view_types.h" 36 #include "chrome/common/view_types.h"
38 #include "content/browser/browsing_instance.h" 37 #include "content/browser/browsing_instance.h"
39 #include "content/browser/renderer_host/render_process_host.h" 38 #include "content/browser/renderer_host/render_process_host.h"
40 #include "content/browser/renderer_host/render_view_host.h" 39 #include "content/browser/renderer_host/render_view_host.h"
41 #include "content/browser/renderer_host/render_widget_host.h" 40 #include "content/browser/renderer_host/render_widget_host.h"
42 #include "content/browser/renderer_host/render_widget_host_view.h" 41 #include "content/browser/renderer_host/render_widget_host_view.h"
43 #include "content/browser/site_instance.h" 42 #include "content/browser/site_instance.h"
44 #include "content/browser/tab_contents/tab_contents.h" 43 #include "content/browser/tab_contents/tab_contents.h"
45 #include "content/browser/tab_contents/tab_contents_view.h" 44 #include "content/browser/tab_contents/tab_contents_view.h"
46 #include "content/browser/webui/web_ui_factory.h" 45 #include "content/browser/webui/web_ui_factory.h"
47 #include "content/common/native_web_keyboard_event.h" 46 #include "content/common/native_web_keyboard_event.h"
48 #include "content/common/notification_service.h" 47 #include "content/common/notification_service.h"
48 #include "content/common/view_messages.h"
49 #include "grit/browser_resources.h" 49 #include "grit/browser_resources.h"
50 #include "grit/generated_resources.h" 50 #include "grit/generated_resources.h"
51 #include "ui/base/keycodes/keyboard_codes.h" 51 #include "ui/base/keycodes/keyboard_codes.h"
52 #include "ui/base/l10n/l10n_util.h" 52 #include "ui/base/l10n/l10n_util.h"
53 #include "ui/base/resource/resource_bundle.h" 53 #include "ui/base/resource/resource_bundle.h"
54 #include "webkit/glue/context_menu.h" 54 #include "webkit/glue/context_menu.h"
55 55
56 #if defined(TOOLKIT_VIEWS) 56 #if defined(TOOLKIT_VIEWS)
57 #include "views/widget/widget.h" 57 #include "views/widget/widget.h"
58 #endif 58 #endif
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 } 841 }
842 return window_id; 842 return window_id;
843 } 843 }
844 844
845 void ExtensionHost::OnRunFileChooser( 845 void ExtensionHost::OnRunFileChooser(
846 const ViewHostMsg_RunFileChooser_Params& params) { 846 const ViewHostMsg_RunFileChooser_Params& params) {
847 if (file_select_helper_.get() == NULL) 847 if (file_select_helper_.get() == NULL)
848 file_select_helper_.reset(new FileSelectHelper(profile())); 848 file_select_helper_.reset(new FileSelectHelper(profile()));
849 file_select_helper_->RunFileChooser(render_view_host_, params); 849 file_select_helper_->RunFileChooser(render_view_host_, params);
850 } 850 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/notifications/balloon_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698