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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 3015029: Replace ViewHostMsg_GetPluginPath with ViewHostMsg_GetPluginInfo. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: compile fixes Created 10 years, 4 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 | « chrome/common/render_messages.h ('k') | chrome/renderer/blocked_plugin.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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_GetCookiesEnabled, 1235 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_GetCookiesEnabled,
1236 GURL /* url */, 1236 GURL /* url */,
1237 GURL /* first_party_for_cookies */, 1237 GURL /* first_party_for_cookies */,
1238 bool /* enabled */) 1238 bool /* enabled */)
1239 1239
1240 // Used to get the list of plugins 1240 // Used to get the list of plugins
1241 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, 1241 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins,
1242 bool /* refresh*/, 1242 bool /* refresh*/,
1243 std::vector<WebPluginInfo> /* plugins */) 1243 std::vector<WebPluginInfo> /* plugins */)
1244 1244
1245 // Returns a path to a plugin for the given url and mime type. If there's 1245 // Return information about a plugin for the given URL and MIME type. If there
1246 // no plugin, an empty string is returned. 1246 // is no matching plugin, |found| is set to false.
1247 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_GetPluginPath, 1247 IPC_SYNC_MESSAGE_CONTROL3_3(ViewHostMsg_GetPluginInfo,
1248 GURL /* url */, 1248 GURL /* url */,
1249 GURL /* policy_url */, 1249 GURL /* policy_url */,
1250 std::string /* mime_type */, 1250 std::string /* mime_type */,
1251 FilePath /* filename */, 1251 bool /* found */,
1252 std::string /* actual mime type for url */) 1252 WebPluginInfo /* plugin info */,
1253 std::string /* actual_mime_type */)
1253 1254
1254 // Requests spellcheck for a word. 1255 // Requests spellcheck for a word.
1255 IPC_SYNC_MESSAGE_ROUTED2_2(ViewHostMsg_SpellCheck, 1256 IPC_SYNC_MESSAGE_ROUTED2_2(ViewHostMsg_SpellCheck,
1256 string16 /* word to check */, 1257 string16 /* word to check */,
1257 int /* document tag*/, 1258 int /* document tag*/,
1258 int /* misspell location */, 1259 int /* misspell location */,
1259 int /* misspell length */) 1260 int /* misspell length */)
1260 1261
1261 // Asks the browser for a unique document tag. 1262 // Asks the browser for a unique document tag.
1262 IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_GetDocumentTag, 1263 IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_GetDocumentTag,
(...skipping 1262 matching lines...) Expand 10 before | Expand all | Expand 10 after
2525 // Send the tree of accessibility data to the browser, where it's cached 2526 // Send the tree of accessibility data to the browser, where it's cached
2526 // in order to respond to OS accessibility queries immediately. 2527 // in order to respond to OS accessibility queries immediately.
2527 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, 2528 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree,
2528 webkit_glue::WebAccessibility) 2529 webkit_glue::WebAccessibility)
2529 2530
2530 // Notifies the TabContents that the content being displayed is PDF. 2531 // Notifies the TabContents that the content being displayed is PDF.
2531 // This allows the browser to handle things such as zooming differently. 2532 // This allows the browser to handle things such as zooming differently.
2532 IPC_MESSAGE_ROUTED0(ViewHostMsg_SetDisplayingPDFContent) 2533 IPC_MESSAGE_ROUTED0(ViewHostMsg_SetDisplayingPDFContent)
2533 2534
2534 IPC_END_MESSAGES(ViewHost) 2535 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/blocked_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698