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

Side by Side Diff: chrome/renderer/mock_render_thread.h

Issue 1585013: Localize CSS files in content scripts (but don't localize JS files).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/extensions/user_script.h ('k') | chrome/renderer/mock_render_thread.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_MOCK_RENDER_THREAD_H_ 5 #ifndef CHROME_RENDERER_MOCK_RENDER_THREAD_H_
6 #define CHROME_RENDERER_MOCK_RENDER_THREAD_H_ 6 #define CHROME_RENDERER_MOCK_RENDER_THREAD_H_
7 7
8 #include <map>
8 #include <string> 9 #include <string>
9 #include <vector> 10 #include <vector>
10 11
11 #include "chrome/common/ipc_test_sink.h" 12 #include "chrome/common/ipc_test_sink.h"
12 #include "chrome/renderer/mock_printer.h" 13 #include "chrome/renderer/mock_printer.h"
13 #include "chrome/renderer/render_thread.h" 14 #include "chrome/renderer/render_thread.h"
14 15
15 struct ViewMsg_Print_Params; 16 struct ViewMsg_Print_Params;
16 struct ViewMsg_PrintPages_Params; 17 struct ViewMsg_PrintPages_Params;
17 struct ViewHostMsg_ScriptedPrint_Params; 18 struct ViewHostMsg_ScriptedPrint_Params;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void OnMsgCreateWidget(int opener_id, 81 void OnMsgCreateWidget(int opener_id,
81 bool activatable, 82 bool activatable,
82 int* route_id); 83 int* route_id);
83 84
84 // The callee expects to be returned a valid channel_id. 85 // The callee expects to be returned a valid channel_id.
85 void OnMsgOpenChannelToExtension( 86 void OnMsgOpenChannelToExtension(
86 int routing_id, const std::string& extension_id, 87 int routing_id, const std::string& extension_id,
87 const std::string& source_extension_id, 88 const std::string& source_extension_id,
88 const std::string& target_extension_id, int* port_id); 89 const std::string& target_extension_id, int* port_id);
89 90
91 // The callee expect to be returned the map with at least extension_id value.
92 void OnMsgGetExtensionMessageBundle(
93 const std::string extension_id,
94 std::map<std::string, std::string>* messages);
95
90 #if defined(OS_WIN) 96 #if defined(OS_WIN)
91 void OnDuplicateSection(base::SharedMemoryHandle renderer_handle, 97 void OnDuplicateSection(base::SharedMemoryHandle renderer_handle,
92 base::SharedMemoryHandle* browser_handle); 98 base::SharedMemoryHandle* browser_handle);
93 #endif 99 #endif
94 100
95 #if defined(OS_MACOSX) 101 #if defined(OS_MACOSX)
96 void OnAllocatePDFTransport(uint32 buffer_size, 102 void OnAllocatePDFTransport(uint32 buffer_size,
97 base::SharedMemoryHandle* handle); 103 base::SharedMemoryHandle* handle);
98 #endif 104 #endif
99 105
(...skipping 20 matching lines...) Expand all
120 IPC::Channel::Listener* widget_; 126 IPC::Channel::Listener* widget_;
121 127
122 // The last known good deserializer for sync messages. 128 // The last known good deserializer for sync messages.
123 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_; 129 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_;
124 130
125 // A mock printer device used for printing tests. 131 // A mock printer device used for printing tests.
126 scoped_ptr<MockPrinter> printer_; 132 scoped_ptr<MockPrinter> printer_;
127 }; 133 };
128 134
129 #endif // CHROME_RENDERER_MOCK_RENDER_THREAD_H_ 135 #endif // CHROME_RENDERER_MOCK_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/user_script.h ('k') | chrome/renderer/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698