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

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

Issue 3040034: Block non-sandboxed plugins. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: fix indentation; sync 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/chrome_switches.cc ('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 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after
1677 1677
1678 // Request for a DNS prefetch of the names in the array. 1678 // Request for a DNS prefetch of the names in the array.
1679 // NameList is typedef'ed std::vector<std::string> 1679 // NameList is typedef'ed std::vector<std::string>
1680 IPC_MESSAGE_CONTROL1(ViewHostMsg_DnsPrefetch, 1680 IPC_MESSAGE_CONTROL1(ViewHostMsg_DnsPrefetch,
1681 std::vector<std::string> /* hostnames */) 1681 std::vector<std::string> /* hostnames */)
1682 1682
1683 // Notifies when default plugin updates status of the missing plugin. 1683 // Notifies when default plugin updates status of the missing plugin.
1684 IPC_MESSAGE_ROUTED1(ViewHostMsg_MissingPluginStatus, 1684 IPC_MESSAGE_ROUTED1(ViewHostMsg_MissingPluginStatus,
1685 int /* status */) 1685 int /* status */)
1686 1686
1687 // Notifies when a non-sandboxed plugin was blocked.
1688 IPC_MESSAGE_ROUTED1(ViewHostMsg_NonSandboxedPluginBlocked,
1689 string16 /* name */)
1690
1691 // Notifies when a blocked plugin was loaded via click-to-load.
1692 IPC_MESSAGE_ROUTED0(ViewHostMsg_BlockedPluginLoaded)
1693
1687 // Sent by the renderer process to indicate that a plugin instance has 1694 // Sent by the renderer process to indicate that a plugin instance has
1688 // crashed. 1695 // crashed.
1689 IPC_MESSAGE_ROUTED1(ViewHostMsg_CrashedPlugin, 1696 IPC_MESSAGE_ROUTED1(ViewHostMsg_CrashedPlugin,
1690 FilePath /* plugin_path */) 1697 FilePath /* plugin_path */)
1691 1698
1692 // Displays a JavaScript out-of-memory message in the infobar. 1699 // Displays a JavaScript out-of-memory message in the infobar.
1693 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) 1700 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory)
1694 1701
1695 // Displays a box to confirm that the user wants to navigate away from the 1702 // Displays a box to confirm that the user wants to navigate away from the
1696 // page. Replies true if yes, false otherwise, the reply string is ignored, 1703 // page. Replies true if yes, false otherwise, the reply string is ignored,
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
2564 int /* render_view_id */) 2571 int /* render_view_id */)
2565 2572
2566 // Requests the speech input service to stop audio recording on behalf of 2573 // Requests the speech input service to stop audio recording on behalf of
2567 // the given |render_view_id|. Any audio recorded so far will be fed to the 2574 // the given |render_view_id|. Any audio recorded so far will be fed to the
2568 // speech recognizer. If speech recognition is not happening nor or is 2575 // speech recognizer. If speech recognition is not happening nor or is
2569 // happening on behalf of some other render view, this call does nothing. 2576 // happening on behalf of some other render view, this call does nothing.
2570 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_StopRecording, 2577 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_StopRecording,
2571 int /* render_view_id */) 2578 int /* render_view_id */)
2572 2579
2573 IPC_END_MESSAGES(ViewHost) 2580 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/renderer/blocked_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698