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

Side by Side Diff: content/common/view_messages.h

Issue 929483004: Plugin Power Saver: Throttled Plugins should block TCPSocket reads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 base::FilePath /* path */) 1350 base::FilePath /* path */)
1351 1351
1352 // A renderer sends this to the browser process when it wants to access a PPAPI 1352 // A renderer sends this to the browser process when it wants to access a PPAPI
1353 // broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called 1353 // broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called
1354 // for every connection. 1354 // for every connection.
1355 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult. 1355 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult.
1356 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission, 1356 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission,
1357 int /* routing_id */, 1357 int /* routing_id */,
1358 GURL /* document_url */, 1358 GURL /* document_url */,
1359 base::FilePath /* plugin_path */) 1359 base::FilePath /* plugin_path */)
1360
1361 // A renderer sends this to the browser process when it throttles or unthrottles
1362 // a plugin instance for the Plugin Power Saver feature.
1363 IPC_MESSAGE_CONTROL3(ViewHostMsg_PluginInstanceThrottleStateChange,
1364 int /* plugin_child_id */,
1365 int32 /* pp_instance */,
1366 bool /* is_throttled */)
1360 #endif // defined(ENABLE_PLUGINS) 1367 #endif // defined(ENABLE_PLUGINS)
1361 1368
1362 // Send the tooltip text for the current mouse position to the browser. 1369 // Send the tooltip text for the current mouse position to the browser.
1363 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, 1370 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
1364 base::string16 /* tooltip text string */, 1371 base::string16 /* tooltip text string */,
1365 blink::WebTextDirection /* text direction hint */) 1372 blink::WebTextDirection /* text direction hint */)
1366 1373
1367 // Notification that the text selection has changed. 1374 // Notification that the text selection has changed.
1368 // Note: The secound parameter is the character based offset of the 1375 // Note: The secound parameter is the character based offset of the
1369 // base::string16 1376 // base::string16
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
1643 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1650 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1644 // for details. 1651 // for details.
1645 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1652 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1646 LOGFONT /* font_data */, 1653 LOGFONT /* font_data */,
1647 base::string16 /* characters */) 1654 base::string16 /* characters */)
1648 #endif 1655 #endif
1649 1656
1650 // Adding a new message? Stick to the sort order above: first platform 1657 // Adding a new message? Stick to the sort order above: first platform
1651 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1658 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1652 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1659 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/pepper_renderer_instance_data.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698