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

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

Issue 154083008: Remove Tabpose feature on mac, and supporting infrastructure (PaintAtSize) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, merge Created 6 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 | Annotate | Revision Log
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 // is true. In that case, the generated ViewHostMsg_UpdateRect message will 746 // is true. In that case, the generated ViewHostMsg_UpdateRect message will
747 // have the IS_RESTORE_ACK flag set. If needs_repainting is false, then this 747 // have the IS_RESTORE_ACK flag set. If needs_repainting is false, then this
748 // message does not trigger a message in response. 748 // message does not trigger a message in response.
749 IPC_MESSAGE_ROUTED1(ViewMsg_WasShown, 749 IPC_MESSAGE_ROUTED1(ViewMsg_WasShown,
750 bool /* needs_repainting */) 750 bool /* needs_repainting */)
751 751
752 // Sent to inform the view that it was swapped out. This allows the process to 752 // Sent to inform the view that it was swapped out. This allows the process to
753 // exit if no other views are using it. 753 // exit if no other views are using it.
754 IPC_MESSAGE_ROUTED0(ViewMsg_WasSwappedOut) 754 IPC_MESSAGE_ROUTED0(ViewMsg_WasSwappedOut)
755 755
756 // Sent to render the view into the supplied transport DIB, resize
757 // the web widget to match the |page_size|, scale it by the
758 // appropriate scale to make it fit the |desired_size|, and return
759 // it. In response to this message, the host generates a
760 // ViewHostMsg_PaintAtSize_ACK message. Note that the DIB *must* be
761 // the right size to receive an RGBA image at the |desired_size|.
762 // |tag| is sent along with ViewHostMsg_PaintAtSize_ACK unmodified to
763 // identify the PaintAtSize message the ACK belongs to.
764 IPC_MESSAGE_ROUTED4(ViewMsg_PaintAtSize,
765 TransportDIB::Handle /* dib_handle */,
766 int /* tag */,
767 gfx::Size /* page_size */,
768 gfx::Size /* desired_size */)
769
770 // Tells the render view that a ViewHostMsg_UpdateRect message was processed. 756 // Tells the render view that a ViewHostMsg_UpdateRect message was processed.
771 // This signals the render view that it can send another UpdateRect message. 757 // This signals the render view that it can send another UpdateRect message.
772 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) 758 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK)
773 759
774 // Tells the render view that a SwapBuffers was completed. Typically, 760 // Tells the render view that a SwapBuffers was completed. Typically,
775 // SwapBuffers requests go from renderer -> GPU process -> browser. Most 761 // SwapBuffers requests go from renderer -> GPU process -> browser. Most
776 // platforms still use the GfxCxt3D Echo for receiving the SwapBuffers Ack. 762 // platforms still use the GfxCxt3D Echo for receiving the SwapBuffers Ack.
777 // Using Echo routes the ack from browser -> GPU process -> renderer, while this 763 // Using Echo routes the ack from browser -> GPU process -> renderer, while this
778 // Ack goes directly from browser -> renderer. This is not used for the threaded 764 // Ack goes directly from browser -> renderer. This is not used for the threaded
779 // compositor path. 765 // compositor path.
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 ResourceType::Type /* resource type */) 1444 ResourceType::Type /* resource type */)
1459 1445
1460 // Sent when the renderer displays insecure content in a secure page. 1446 // Sent when the renderer displays insecure content in a secure page.
1461 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) 1447 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent)
1462 1448
1463 // Sent when the renderer runs insecure content in a secure origin. 1449 // Sent when the renderer runs insecure content in a secure origin.
1464 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, 1450 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent,
1465 std::string /* security_origin */, 1451 std::string /* security_origin */,
1466 GURL /* target URL */) 1452 GURL /* target URL */)
1467 1453
1468 // Tells the render view that a ViewHostMsg_PaintAtSize message was
1469 // processed, and the DIB is ready for use. |tag| has the same value that
1470 // the tag sent along with ViewMsg_PaintAtSize.
1471 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK,
1472 int /* tag */,
1473 gfx::Size /* size */)
1474
1475 // Sent to update part of the view. In response to this message, the host 1454 // Sent to update part of the view. In response to this message, the host
1476 // generates a ViewMsg_UpdateRect_ACK message. 1455 // generates a ViewMsg_UpdateRect_ACK message.
1477 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, 1456 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect,
1478 ViewHostMsg_UpdateRect_Params) 1457 ViewHostMsg_UpdateRect_Params)
1479 1458
1480 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, 1459 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect,
1481 // which may get delayed until the browser's UI unblocks. 1460 // which may get delayed until the browser's UI unblocks.
1482 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) 1461 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed)
1483 1462
1484 // Sent by the renderer when accelerated compositing is enabled or disabled to 1463 // Sent by the renderer when accelerated compositing is enabled or disabled to
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
2151 // synchronously (see crbug.com/120597). This IPC message sends the character 2130 // synchronously (see crbug.com/120597). This IPC message sends the character
2152 // bounds after every composition change to always have correct bound info. 2131 // bounds after every composition change to always have correct bound info.
2153 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2132 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2154 gfx::Range /* composition range */, 2133 gfx::Range /* composition range */,
2155 std::vector<gfx::Rect> /* character bounds */) 2134 std::vector<gfx::Rect> /* character bounds */)
2156 #endif 2135 #endif
2157 2136
2158 // Adding a new message? Stick to the sort order above: first platform 2137 // Adding a new message? Stick to the sort order above: first platform
2159 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2138 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2160 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2139 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698