OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ | 5 #ifndef CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 private: | 66 private: |
67 // RenderViewObserver implementation. | 67 // RenderViewObserver implementation. |
68 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 68 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
69 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE; | 69 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE; |
70 virtual void DidFinishLoad(WebKit::WebFrame* frame) OVERRIDE; | 70 virtual void DidFinishLoad(WebKit::WebFrame* frame) OVERRIDE; |
71 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) OVERRIDE; | 71 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) OVERRIDE; |
72 virtual void DidStartProvisionalLoad(WebKit::WebFrame* frame) OVERRIDE; | 72 virtual void DidStartProvisionalLoad(WebKit::WebFrame* frame) OVERRIDE; |
73 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; | 73 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; |
74 virtual void DidCreateDataSource(WebKit::WebFrame* frame, | 74 virtual void DidCreateDataSource(WebKit::WebFrame* frame, |
75 WebKit::WebDataSource* ds) OVERRIDE; | 75 WebKit::WebDataSource* ds) OVERRIDE; |
| 76 virtual void DraggableRegionsChanged(WebKit::WebFrame* frame) OVERRIDE; |
76 | 77 |
77 void OnExtensionResponse(int request_id, bool success, | 78 void OnExtensionResponse(int request_id, bool success, |
78 const base::ListValue& response, | 79 const base::ListValue& response, |
79 const std::string& error); | 80 const std::string& error); |
80 void OnExtensionMessageInvoke(const std::string& extension_id, | 81 void OnExtensionMessageInvoke(const std::string& extension_id, |
81 const std::string& function_name, | 82 const std::string& function_name, |
82 const base::ListValue& args, | 83 const base::ListValue& args, |
83 const GURL& event_url, | 84 const GURL& event_url, |
84 bool user_gesture); | 85 bool user_gesture); |
85 void OnExtensionDispatchOnConnect(int target_port_id, | 86 void OnExtensionDispatchOnConnect(int target_port_id, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // Id of the tab which the RenderView is attached to. | 138 // Id of the tab which the RenderView is attached to. |
138 int tab_id_; | 139 int tab_id_; |
139 | 140 |
140 // Id number of browser window which RenderView is attached to. | 141 // Id number of browser window which RenderView is attached to. |
141 int browser_window_id_; | 142 int browser_window_id_; |
142 | 143 |
143 DISALLOW_COPY_AND_ASSIGN(ExtensionHelper); | 144 DISALLOW_COPY_AND_ASSIGN(ExtensionHelper); |
144 }; | 145 }; |
145 | 146 |
146 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ | 147 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ |
OLD | NEW |