Chromium Code Reviews

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | 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_popup_api.h" 5 #include "chrome/browser/extensions/extension_popup_api.h"
6 6
7 #include "base/json/json_writer.h" 7 #include "base/json/json_writer.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/extensions/extension_dom_ui.h" 11 #include "chrome/browser/extensions/extension_dom_ui.h"
12 #include "chrome/browser/extensions/extension_event_router.h" 12 #include "chrome/browser/extensions/extension_event_router.h"
13 #include "chrome/browser/extensions/extension_host.h" 13 #include "chrome/browser/extensions/extension_host.h"
14 #include "chrome/browser/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/renderer_host/render_view_host.h" 15 #include "chrome/browser/renderer_host/render_view_host.h"
16 #include "chrome/browser/renderer_host/render_view_host_delegate.h" 16 #include "chrome/browser/renderer_host/render_view_host_delegate.h"
17 #include "chrome/browser/renderer_host/render_widget_host_view.h" 17 #include "chrome/browser/renderer_host/render_widget_host_view.h"
18 #include "chrome/browser/tab_contents/tab_contents.h" 18 #include "chrome/browser/tab_contents/tab_contents.h"
19 #include "chrome/browser/ui/browser.h" 19 #include "chrome/browser/ui/browser.h"
20 #include "chrome/browser/ui/browser_window.h" 20 #include "chrome/browser/ui/browser_window.h"
21 #include "chrome/browser/ui/window_sizer.h" 21 #include "chrome/browser/ui/window_sizer.h"
22 #include "chrome/common/extensions/extension.h" 22 #include "chrome/common/extensions/extension.h"
23 #include "chrome/common/notification_details.h" 23 #include "chrome/common/notification_details.h"
24 #include "chrome/common/notification_service.h" 24 #include "chrome/common/notification_service.h"
(...skipping 514 matching lines...)
539 // static 539 // static
540 void PopupEventRouter::OnPopupClosed(Profile* profile, 540 void PopupEventRouter::OnPopupClosed(Profile* profile,
541 int routing_id) { 541 int routing_id) {
542 std::string full_event_name = base::StringPrintf( 542 std::string full_event_name = base::StringPrintf(
543 extension_popup_module_events::kOnPopupClosed, 543 extension_popup_module_events::kOnPopupClosed,
544 routing_id); 544 routing_id);
545 545
546 profile->GetExtensionEventRouter()->DispatchEventToRenderers( 546 profile->GetExtensionEventRouter()->DispatchEventToRenderers(
547 full_event_name, base::JSONWriter::kEmptyArray, profile, GURL()); 547 full_event_name, base::JSONWriter::kEmptyArray, profile, GURL());
548 } 548 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_page_actions_module.cc ('k') | chrome/browser/extensions/extension_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine