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

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

Issue 2702433002: Clear renderer compositor trees if new page does not render in 4 seconds (Closed)
Patch Set: Removed a semicolon Created 3 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 cc::BeginFrameArgs /* args */) 611 cc::BeginFrameArgs /* args */)
612 612
613 // Sent by the browser to deliver a compositor proto to the renderer. 613 // Sent by the browser to deliver a compositor proto to the renderer.
614 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, 614 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto,
615 std::vector<uint8_t> /* proto */) 615 std::vector<uint8_t> /* proto */)
616 616
617 // Sets the viewport intersection on the widget for an out-of-process iframe. 617 // Sets the viewport intersection on the widget for an out-of-process iframe.
618 IPC_MESSAGE_ROUTED1(ViewMsg_SetViewportIntersection, 618 IPC_MESSAGE_ROUTED1(ViewMsg_SetViewportIntersection,
619 gfx::Rect /* viewport_intersection */) 619 gfx::Rect /* viewport_intersection */)
620 620
621 // Tell the renderer to clear out compositor resources in order to prevent new
622 // compositor frames being sent based on stale content that has previously
623 // been unloaded.
624 IPC_MESSAGE_ROUTED0(ViewMsg_ClearDisplayedContent)
625
621 // ----------------------------------------------------------------------------- 626 // -----------------------------------------------------------------------------
622 // Messages sent from the renderer to the browser. 627 // Messages sent from the renderer to the browser.
623 628
624 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming 629 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming
625 // display events. If |enabled| is true, the BeginFrame message will continue 630 // display events. If |enabled| is true, the BeginFrame message will continue
626 // to be be delivered until the notification is disabled. 631 // to be be delivered until the notification is disabled.
627 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, 632 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames,
628 bool /* enabled */) 633 bool /* enabled */)
629 634
630 // These two messages are sent to the parent RenderViewHost to display a widget 635 // These two messages are sent to the parent RenderViewHost to display a widget
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 int /* y */) 888 int /* y */)
884 889
885 #elif defined(OS_MACOSX) 890 #elif defined(OS_MACOSX)
886 // Receives content of a web page as plain text. 891 // Receives content of a web page as plain text.
887 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 892 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
888 #endif 893 #endif
889 894
890 // Adding a new message? Stick to the sort order above: first platform 895 // Adding a new message? Stick to the sort order above: first platform
891 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 896 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
892 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 897 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698