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

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

Issue 6247013: Don't load plugins on prerendered pages until the pages are displayed.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin) 560 IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin)
561 561
562 // Tells the renderer to empty its plugin list cache, optional reloading 562 // Tells the renderer to empty its plugin list cache, optional reloading
563 // pages containing plugins. 563 // pages containing plugins.
564 IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache, 564 IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache,
565 bool /* reload_pages */) 565 bool /* reload_pages */)
566 566
567 // Tells the render view to load all blocked plugins. 567 // Tells the render view to load all blocked plugins.
568 IPC_MESSAGE_ROUTED0(ViewMsg_LoadBlockedPlugins) 568 IPC_MESSAGE_ROUTED0(ViewMsg_LoadBlockedPlugins)
569 569
570 // Tells the render view a prerendered page is about to be displayed.
571 IPC_MESSAGE_ROUTED0(ViewMsg_DisplayPrerenderedPage)
572
570 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, 573 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse,
571 std::vector<FilePath> /* selected files */) 574 std::vector<FilePath> /* selected files */)
572 575
573 // Used to instruct the RenderView to go into "view source" mode. 576 // Used to instruct the RenderView to go into "view source" mode.
574 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) 577 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode)
575 578
576 // Get all savable resource links from current webpage, include main 579 // Get all savable resource links from current webpage, include main
577 // frame and sub-frame. 580 // frame and sub-frame.
578 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage, 581 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage,
579 GURL /* url of page which is needed to save */) 582 GURL /* url of page which is needed to save */)
(...skipping 2050 matching lines...) Expand 10 before | Expand all | Expand 10 after
2630 int /* request_id */, 2633 int /* request_id */,
2631 PP_Flash_NetAddress /* addr */) 2634 PP_Flash_NetAddress /* addr */)
2632 2635
2633 // JavaScript related messages ----------------------------------------------- 2636 // JavaScript related messages -----------------------------------------------
2634 2637
2635 // Notify the JavaScript engine in the render to change its parameters 2638 // Notify the JavaScript engine in the render to change its parameters
2636 // while performing stress testing. 2639 // while performing stress testing.
2637 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2640 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2638 int /* cmd */, 2641 int /* cmd */,
2639 int /* param */) 2642 int /* param */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698