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

Side by Side Diff: extensions/browser/extension_message_filter.h

Issue 497103002: Move ChromeExtensionHostMsg_AttachGuest to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move guest_view_internal register to dispatcher in extensions. Created 6 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // Message handlers on the UI thread. 54 // Message handlers on the UI thread.
55 void OnExtensionAddListener(const std::string& extension_id, 55 void OnExtensionAddListener(const std::string& extension_id,
56 const GURL& listener_url, 56 const GURL& listener_url,
57 const std::string& event_name); 57 const std::string& event_name);
58 void OnExtensionRemoveListener(const std::string& extension_id, 58 void OnExtensionRemoveListener(const std::string& extension_id,
59 const GURL& listener_url, 59 const GURL& listener_url,
60 const std::string& event_name); 60 const std::string& event_name);
61 void OnExtensionAddLazyListener(const std::string& extension_id, 61 void OnExtensionAddLazyListener(const std::string& extension_id,
62 const std::string& event_name); 62 const std::string& event_name);
63 void OnExtensionAttachGuest(int routing_id,
64 int element_instance_id,
65 int guest_instance_id,
66 const base::DictionaryValue& attach_params);
63 void OnExtensionRemoveLazyListener(const std::string& extension_id, 67 void OnExtensionRemoveLazyListener(const std::string& extension_id,
64 const std::string& event_name); 68 const std::string& event_name);
65 void OnExtensionAddFilteredListener(const std::string& extension_id, 69 void OnExtensionAddFilteredListener(const std::string& extension_id,
66 const std::string& event_name, 70 const std::string& event_name,
67 const base::DictionaryValue& filter, 71 const base::DictionaryValue& filter,
68 bool lazy); 72 bool lazy);
69 void OnExtensionRemoveFilteredListener(const std::string& extension_id, 73 void OnExtensionRemoveFilteredListener(const std::string& extension_id,
70 const std::string& event_name, 74 const std::string& event_name,
71 const base::DictionaryValue& filter, 75 const base::DictionaryValue& filter,
72 bool lazy); 76 bool lazy);
(...skipping 18 matching lines...) Expand all
91 95
92 // Weak pointers produced by this factory are bound to the IO thread. 96 // Weak pointers produced by this factory are bound to the IO thread.
93 base::WeakPtrFactory<ExtensionMessageFilter> weak_ptr_factory_; 97 base::WeakPtrFactory<ExtensionMessageFilter> weak_ptr_factory_;
94 98
95 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageFilter); 99 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageFilter);
96 }; 100 };
97 101
98 } // namespace extensions 102 } // namespace extensions
99 103
100 #endif // EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ 104 #endif // EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/guest_view_internal_custom_bindings.cc ('k') | extensions/browser/extension_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698