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

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

Issue 2929493003: Move handling of DraggableRegionsChanged notification from "view" to "frame". (Closed)
Patch Set: Addressed CR feedback from rdevlin.cronin@. Created 3 years, 6 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 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/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void DidMatchCSS( 96 void DidMatchCSS(
97 const blink::WebVector<blink::WebString>& newly_matching_selectors, 97 const blink::WebVector<blink::WebString>& newly_matching_selectors,
98 const blink::WebVector<blink::WebString>& stopped_matching_selectors) 98 const blink::WebVector<blink::WebString>& stopped_matching_selectors)
99 override; 99 override;
100 void DidStartProvisionalLoad(blink::WebDataSource* data_source) override; 100 void DidStartProvisionalLoad(blink::WebDataSource* data_source) override;
101 void DidCreateScriptContext(v8::Local<v8::Context>, 101 void DidCreateScriptContext(v8::Local<v8::Context>,
102 int world_id) override; 102 int world_id) override;
103 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override; 103 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override;
104 bool OnMessageReceived(const IPC::Message& message) override; 104 bool OnMessageReceived(const IPC::Message& message) override;
105 void OnDestruct() override; 105 void OnDestruct() override;
106 void DraggableRegionsChanged() override;
106 107
107 // IPC handlers. 108 // IPC handlers.
108 void OnExtensionValidateMessagePort(const PortId& id); 109 void OnExtensionValidateMessagePort(const PortId& id);
109 void OnExtensionDispatchOnConnect( 110 void OnExtensionDispatchOnConnect(
110 const PortId& target_port_id, 111 const PortId& target_port_id,
111 const std::string& channel_name, 112 const std::string& channel_name,
112 const ExtensionMsg_TabConnectionInfo& source, 113 const ExtensionMsg_TabConnectionInfo& source,
113 const ExtensionMsg_ExternalConnectionInfo& info, 114 const ExtensionMsg_ExternalConnectionInfo& info,
114 const std::string& tls_channel_id); 115 const std::string& tls_channel_id);
115 void OnExtensionDeliverMessage(const PortId& target_port_id, 116 void OnExtensionDeliverMessage(const PortId& target_port_id,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 bool delayed_main_world_script_initialization_ = false; 155 bool delayed_main_world_script_initialization_ = false;
155 156
156 base::WeakPtrFactory<ExtensionFrameHelper> weak_ptr_factory_; 157 base::WeakPtrFactory<ExtensionFrameHelper> weak_ptr_factory_;
157 158
158 DISALLOW_COPY_AND_ASSIGN(ExtensionFrameHelper); 159 DISALLOW_COPY_AND_ASSIGN(ExtensionFrameHelper);
159 }; 160 };
160 161
161 } // namespace extensions 162 } // namespace extensions
162 163
163 #endif // EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_ 164 #endif // EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_
OLDNEW
« no previous file with comments | « extensions/browser/app_window/app_window_contents.cc ('k') | extensions/renderer/extension_frame_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698