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

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

Issue 1117023002: Keep event page alive when there's some Pepper plugin on it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 5 years, 7 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 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after
1258 bool /* has_handlers */) 1258 bool /* has_handlers */)
1259 1259
1260 // A message from HTML-based UI. When (trusted) Javascript calls 1260 // A message from HTML-based UI. When (trusted) Javascript calls
1261 // send(message, args), this message is sent to the browser. 1261 // send(message, args), this message is sent to the browser.
1262 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, 1262 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend,
1263 GURL /* source_url */, 1263 GURL /* source_url */,
1264 std::string /* message */, 1264 std::string /* message */,
1265 base::ListValue /* args */) 1265 base::ListValue /* args */)
1266 1266
1267 #if defined(ENABLE_PLUGINS) 1267 #if defined(ENABLE_PLUGINS)
1268 // Notification sent from a renderer to the browser that a Pepper plugin
1269 // instance is attached to the page DOM.
1270 IPC_MESSAGE_ROUTED0(ViewHostMsg_PepperInstanceCreated)
nasko 2015/05/11 16:24:08 Please don't add any more IPCs for RenderView. It
emaxx 2015/05/18 15:06:29 Done.
1271
1272 // Notification sent from a renderer to the browser that a Pepper plugin
1273 // instance is removed from the page DOM.
1274 IPC_MESSAGE_ROUTED0(ViewHostMsg_PepperInstanceDeleted)
1275
1268 // A renderer sends this to the browser process when it wants to create a ppapi 1276 // A renderer sends this to the browser process when it wants to create a ppapi
1269 // plugin. The browser will create the plugin process if necessary, and will 1277 // plugin. The browser will create the plugin process if necessary, and will
1270 // return a handle to the channel on success. 1278 // return a handle to the channel on success.
1271 // 1279 //
1272 // The plugin_child_id is the ChildProcessHost ID assigned in the browser 1280 // The plugin_child_id is the ChildProcessHost ID assigned in the browser
1273 // process. This ID is valid only in the context of the browser process and is 1281 // process. This ID is valid only in the context of the browser process and is
1274 // used to identify the proper process when the renderer notifies it that the 1282 // used to identify the proper process when the renderer notifies it that the
1275 // plugin is hung. 1283 // plugin is hung.
1276 // 1284 //
1277 // On error an empty string and null handles are returned. 1285 // On error an empty string and null handles are returned.
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1631 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1639 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1632 // for details. 1640 // for details.
1633 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1641 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1634 LOGFONT /* font_data */, 1642 LOGFONT /* font_data */,
1635 base::string16 /* characters */) 1643 base::string16 /* characters */)
1636 #endif 1644 #endif
1637 1645
1638 // Adding a new message? Stick to the sort order above: first platform 1646 // Adding a new message? Stick to the sort order above: first platform
1639 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1647 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1640 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1648 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698