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

Side by Side Diff: extensions/renderer/extension_frame_helper.h

Issue 2628053003: Remove extension group from DOMWrapperWorld. (Closed)
Patch Set: Fix GCCallbackTest Created 3 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
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/extension_frame_helper.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RENDERER_EXTENSION_FRAME_HELPER_H_ 5 #ifndef EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_
6 #define EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_ 6 #define EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 private: 85 private:
86 // RenderFrameObserver implementation. 86 // RenderFrameObserver implementation.
87 void DidCreateDocumentElement() override; 87 void DidCreateDocumentElement() override;
88 void DidCreateNewDocument() override; 88 void DidCreateNewDocument() override;
89 void DidMatchCSS( 89 void DidMatchCSS(
90 const blink::WebVector<blink::WebString>& newly_matching_selectors, 90 const blink::WebVector<blink::WebString>& newly_matching_selectors,
91 const blink::WebVector<blink::WebString>& stopped_matching_selectors) 91 const blink::WebVector<blink::WebString>& stopped_matching_selectors)
92 override; 92 override;
93 void DidStartProvisionalLoad() override; 93 void DidStartProvisionalLoad() override;
94 void DidCreateScriptContext(v8::Local<v8::Context>, 94 void DidCreateScriptContext(v8::Local<v8::Context>,
95 int extension_group,
96 int world_id) override; 95 int world_id) override;
97 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override; 96 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override;
98 bool OnMessageReceived(const IPC::Message& message) override; 97 bool OnMessageReceived(const IPC::Message& message) override;
99 void OnDestruct() override; 98 void OnDestruct() override;
100 99
101 // IPC handlers. 100 // IPC handlers.
102 void OnExtensionValidateMessagePort(const PortId& id); 101 void OnExtensionValidateMessagePort(const PortId& id);
103 void OnExtensionDispatchOnConnect( 102 void OnExtensionDispatchOnConnect(
104 const PortId& target_port_id, 103 const PortId& target_port_id,
105 const std::string& channel_name, 104 const std::string& channel_name,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 bool delayed_main_world_script_initialization_ = false; 144 bool delayed_main_world_script_initialization_ = false;
146 145
147 base::WeakPtrFactory<ExtensionFrameHelper> weak_ptr_factory_; 146 base::WeakPtrFactory<ExtensionFrameHelper> weak_ptr_factory_;
148 147
149 DISALLOW_COPY_AND_ASSIGN(ExtensionFrameHelper); 148 DISALLOW_COPY_AND_ASSIGN(ExtensionFrameHelper);
150 }; 149 };
151 150
152 } // namespace extensions 151 } // namespace extensions
153 152
154 #endif // EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_ 153 #endif // EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_
OLDNEW
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/extension_frame_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698