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

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

Issue 1200503002: [Extensions] Kill off ExtensionMsg_AddMessageToConsole (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master 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
« no previous file with comments | « extensions/renderer/console.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 "content/public/common/console_message_level.h" 10 #include "content/public/common/console_message_level.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 private: 63 private:
64 // RenderFrameObserver implementation. 64 // RenderFrameObserver implementation.
65 void DidCreateScriptContext(v8::Local<v8::Context>, 65 void DidCreateScriptContext(v8::Local<v8::Context>,
66 int extension_group, 66 int extension_group,
67 int world_id) override; 67 int world_id) override;
68 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override; 68 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override;
69 bool OnMessageReceived(const IPC::Message& message) override; 69 bool OnMessageReceived(const IPC::Message& message) override;
70 70
71 // IPC handlers. 71 // IPC handlers.
72 void OnAddMessageToConsole(content::ConsoleMessageLevel level,
73 const std::string& message);
74 void OnExtensionDispatchOnConnect( 72 void OnExtensionDispatchOnConnect(
75 int target_port_id, 73 int target_port_id,
76 const std::string& channel_name, 74 const std::string& channel_name,
77 const ExtensionMsg_TabConnectionInfo& source, 75 const ExtensionMsg_TabConnectionInfo& source,
78 const ExtensionMsg_ExternalConnectionInfo& info, 76 const ExtensionMsg_ExternalConnectionInfo& info,
79 const std::string& tls_channel_id); 77 const std::string& tls_channel_id);
80 void OnExtensionDeliverMessage(int target_port_id, 78 void OnExtensionDeliverMessage(int target_port_id,
81 const Message& message); 79 const Message& message);
82 void OnExtensionDispatchOnDisconnect(int port_id, 80 void OnExtensionDispatchOnDisconnect(int port_id,
83 const std::string& error_message); 81 const std::string& error_message);
(...skipping 26 matching lines...) Expand all
110 std::string tab_extension_owner_id_; 108 std::string tab_extension_owner_id_;
111 109
112 Dispatcher* extension_dispatcher_; 110 Dispatcher* extension_dispatcher_;
113 111
114 DISALLOW_COPY_AND_ASSIGN(ExtensionFrameHelper); 112 DISALLOW_COPY_AND_ASSIGN(ExtensionFrameHelper);
115 }; 113 };
116 114
117 } // namespace extensions 115 } // namespace extensions
118 116
119 #endif // EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_ 117 #endif // EXTENSIONS_RENDERER_EXTENSION_FRAME_HELPER_H_
OLDNEW
« no previous file with comments | « extensions/renderer/console.cc ('k') | extensions/renderer/extension_frame_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698