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

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

Issue 2629243002: content: Remove blimp compositing dependencies. (Closed)
Patch Set: fix gn file Created 3 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
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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, 604 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame,
605 cc::BeginFrameArgs /* args */) 605 cc::BeginFrameArgs /* args */)
606 606
607 // Sent by the browser to deliver a compositor proto to the renderer. 607 // Sent by the browser to deliver a compositor proto to the renderer.
608 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, 608 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto,
609 std::vector<uint8_t> /* proto */) 609 std::vector<uint8_t> /* proto */)
610 610
611 // Sets the viewport intersection on the widget for an out-of-process iframe. 611 // Sets the viewport intersection on the widget for an out-of-process iframe.
612 IPC_MESSAGE_ROUTED1(ViewMsg_SetViewportIntersection, 612 IPC_MESSAGE_ROUTED1(ViewMsg_SetViewportIntersection,
613 gfx::Rect /* viewport_intersection */) 613 gfx::Rect /* viewport_intersection */)
614
Charlie Reis 2017/01/19 23:37:33 nit: Don't remove this blank line.
Khushal 2017/01/19 23:47:17 Done.
615 // ----------------------------------------------------------------------------- 614 // -----------------------------------------------------------------------------
616 // Messages sent from the renderer to the browser. 615 // Messages sent from the renderer to the browser.
617 616
618 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming 617 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming
619 // display events. If |enabled| is true, the BeginFrame message will continue 618 // display events. If |enabled| is true, the BeginFrame message will continue
620 // to be be delivered until the notification is disabled. 619 // to be be delivered until the notification is disabled.
621 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, 620 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames,
622 bool /* enabled */) 621 bool /* enabled */)
623 622
624 // These two messages are sent to the parent RenderViewHost to display a widget 623 // These two messages are sent to the parent RenderViewHost to display a widget
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 // Sent once a paint happens after the first non empty layout. In other words, 861 // Sent once a paint happens after the first non empty layout. In other words,
863 // after the frame widget has painted something. 862 // after the frame widget has painted something.
864 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint) 863 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint)
865 864
866 // Send after a paint happens after any page commit, including a blank one. 865 // Send after a paint happens after any page commit, including a blank one.
867 // TODO(kenrb): This, and all ViewHostMsg_* messages that actually pertain to 866 // TODO(kenrb): This, and all ViewHostMsg_* messages that actually pertain to
868 // RenderWidget(Host), should be renamed to WidgetHostMsg_*. 867 // RenderWidget(Host), should be renamed to WidgetHostMsg_*.
869 // See https://crbug.com/537793. 868 // See https://crbug.com/537793.
870 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstPaintAfterLoad) 869 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstPaintAfterLoad)
871 870
872 // Sent by the renderer to deliver a compositor proto to the browser.
873 IPC_MESSAGE_ROUTED1(ViewHostMsg_ForwardCompositorProto,
874 std::vector<uint8_t> /* proto */)
875
876 // Sent in reply to ViewMsg_WaitForNextFrameForTests. 871 // Sent in reply to ViewMsg_WaitForNextFrameForTests.
877 IPC_MESSAGE_ROUTED0(ViewHostMsg_WaitForNextFrameForTests_ACK) 872 IPC_MESSAGE_ROUTED0(ViewHostMsg_WaitForNextFrameForTests_ACK)
878 873
879 #if defined(OS_ANDROID) 874 #if defined(OS_ANDROID)
880 // Start an android intent with the given URI. 875 // Start an android intent with the given URI.
881 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent, 876 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent,
882 GURL /* content_url */, 877 GURL /* content_url */,
883 bool /* is_main_frame */) 878 bool /* is_main_frame */)
884 879
885 // Reply to the ViewMsg_ExtractSmartClipData message. 880 // Reply to the ViewMsg_ExtractSmartClipData message.
886 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, 881 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted,
887 base::string16 /* text */, 882 base::string16 /* text */,
888 base::string16 /* html */, 883 base::string16 /* html */,
889 gfx::Rect /* rect */) 884 gfx::Rect /* rect */)
890 885
891 // Notifies that an unhandled tap has occurred at the specified x,y position 886 // Notifies that an unhandled tap has occurred at the specified x,y position
892 // and that the UI may need to be triggered. 887 // and that the UI may need to be triggered.
893 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, 888 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded,
894 int /* x */, 889 int /* x */,
895 int /* y */) 890 int /* y */)
896 891
897 #elif defined(OS_MACOSX) 892 #elif defined(OS_MACOSX)
898 // Receives content of a web page as plain text. 893 // Receives content of a web page as plain text.
899 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 894 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
900 #endif 895 #endif
901 896
902 // Adding a new message? Stick to the sort order above: first platform 897 // Adding a new message? Stick to the sort order above: first platform
903 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 898 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
904 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 899 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698