OLD | NEW |
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_RENDERER_EXTENSION_HELPER_H_ | 5 #ifndef EXTENSIONS_RENDERER_EXTENSION_HELPER_H_ |
6 #define EXTENSIONS_RENDERER_EXTENSION_HELPER_H_ | 6 #define EXTENSIONS_RENDERER_EXTENSION_HELPER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "content/public/common/console_message_level.h" | 10 #include "content/public/common/console_message_level.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 const blink::WebVector<blink::WebString>& newly_matching_selectors, | 38 const blink::WebVector<blink::WebString>& newly_matching_selectors, |
39 const blink::WebVector<blink::WebString>& stopped_matching_selectors) | 39 const blink::WebVector<blink::WebString>& stopped_matching_selectors) |
40 override; | 40 override; |
41 void DraggableRegionsChanged(blink::WebFrame* frame) override; | 41 void DraggableRegionsChanged(blink::WebFrame* frame) override; |
42 | 42 |
43 void OnExtensionMessageInvoke(const std::string& extension_id, | 43 void OnExtensionMessageInvoke(const std::string& extension_id, |
44 const std::string& module_name, | 44 const std::string& module_name, |
45 const std::string& function_name, | 45 const std::string& function_name, |
46 const base::ListValue& args, | 46 const base::ListValue& args, |
47 bool user_gesture); | 47 bool user_gesture); |
48 void OnAddMessageToConsole(content::ConsoleMessageLevel level, | |
49 const std::string& message); | |
50 void OnAppWindowClosed(); | 48 void OnAppWindowClosed(); |
51 void OnSetFrameName(const std::string& name); | 49 void OnSetFrameName(const std::string& name); |
52 | 50 |
53 Dispatcher* dispatcher_; | 51 Dispatcher* dispatcher_; |
54 | 52 |
55 // Id number of browser window which RenderView is attached to. | 53 // Id number of browser window which RenderView is attached to. |
56 int browser_window_id_; | 54 int browser_window_id_; |
57 | 55 |
58 DISALLOW_COPY_AND_ASSIGN(ExtensionHelper); | 56 DISALLOW_COPY_AND_ASSIGN(ExtensionHelper); |
59 }; | 57 }; |
60 | 58 |
61 } // namespace extensions | 59 } // namespace extensions |
62 | 60 |
63 #endif // EXTENSIONS_RENDERER_EXTENSION_HELPER_H_ | 61 #endif // EXTENSIONS_RENDERER_EXTENSION_HELPER_H_ |
OLD | NEW |