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

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

Issue 2114213002: Fix loading placeholders for Lo-Fi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whitespace fix and rebase Created 4 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 629
630 // Notifies the embedding frame that the process rendering the child frame's 630 // Notifies the embedding frame that the process rendering the child frame's
631 // contents has terminated. 631 // contents has terminated.
632 IPC_MESSAGE_ROUTED0(FrameMsg_ChildFrameProcessGone) 632 IPC_MESSAGE_ROUTED0(FrameMsg_ChildFrameProcessGone)
633 633
634 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that 634 // Sent in response to a FrameHostMsg_ContextMenu to let the renderer know that
635 // the menu has been closed. 635 // the menu has been closed.
636 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed, 636 IPC_MESSAGE_ROUTED1(FrameMsg_ContextMenuClosed,
637 content::CustomContextMenuContext /* custom_context */) 637 content::CustomContextMenuContext /* custom_context */)
638 638
639 // Disables loading Lo-Fi images in the RenderFrame.
640 IPC_SYNC_MESSAGE_ROUTED0_0(FrameMsg_DisableLoFiImages)
nasko 2016/07/12 19:03:57 Why is this a sync message? Sync messages should n
Charlie Reis 2016/07/12 19:17:06 It also makes deadlock possible, because the rende
641
639 // Reloads all the Lo-Fi images in the RenderFrame. Ignores the cache and 642 // Reloads all the Lo-Fi images in the RenderFrame. Ignores the cache and
640 // reloads from the network. 643 // reloads from the network.
641 IPC_MESSAGE_ROUTED0(FrameMsg_ReloadLoFiImages) 644 IPC_MESSAGE_ROUTED0(FrameMsg_ReloadLoFiImages)
642 645
643 // Executes custom context menu action that was provided from Blink. 646 // Executes custom context menu action that was provided from Blink.
644 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction, 647 IPC_MESSAGE_ROUTED2(FrameMsg_CustomContextMenuAction,
645 content::CustomContextMenuContext /* custom_context */, 648 content::CustomContextMenuContext /* custom_context */,
646 unsigned /* action */) 649 unsigned /* action */)
647 650
648 // Requests that the RenderFrame or RenderFrameProxy updates its opener to the 651 // Requests that the RenderFrame or RenderFrameProxy updates its opener to the
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
1579 // nearest find result in the sending frame. 1582 // nearest find result in the sending frame.
1580 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1583 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1581 int /* nfr_request_id */, 1584 int /* nfr_request_id */,
1582 float /* distance */) 1585 float /* distance */)
1583 #endif 1586 #endif
1584 1587
1585 // Adding a new message? Stick to the sort order above: first platform 1588 // Adding a new message? Stick to the sort order above: first platform
1586 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1589 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1587 // platform independent FrameHostMsg, then ifdefs for platform specific 1590 // platform independent FrameHostMsg, then ifdefs for platform specific
1588 // FrameHostMsg. 1591 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698