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

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

Issue 1200503002: [Extensions] Kill off ExtensionMsg_AddMessageToConsole (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698