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

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

Issue 9980016: Delete background tab IOSurfaces on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments and piman feedback Created 8 years, 8 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) 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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 // The scroll offset of the render view. 492 // The scroll offset of the render view.
493 IPC_STRUCT_MEMBER(gfx::Point, scroll_offset) 493 IPC_STRUCT_MEMBER(gfx::Point, scroll_offset)
494 494
495 // The regions of the bitmap (in view coords) that contain updated pixels. 495 // The regions of the bitmap (in view coords) that contain updated pixels.
496 // In the case of scrolling, this includes the scroll damage rect. 496 // In the case of scrolling, this includes the scroll damage rect.
497 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) 497 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects)
498 498
499 // The size of the RenderView when this message was generated. This is 499 // The size of the RenderView when this message was generated. This is
500 // included so the host knows how large the view is from the perspective of 500 // included so the host knows how large the view is from the perspective of
501 // the renderer process. This is necessary in case a resize operation is in 501 // the renderer process. This is necessary in case a resize operation is in
502 // progress. 502 // progress. If auto-resize is enabled, this should update the corresponding
503 // view size.
503 IPC_STRUCT_MEMBER(gfx::Size, view_size) 504 IPC_STRUCT_MEMBER(gfx::Size, view_size)
504 505
505 // New window locations for plugin child windows. 506 // New window locations for plugin child windows.
506 IPC_STRUCT_MEMBER(std::vector<webkit::npapi::WebPluginGeometry>, 507 IPC_STRUCT_MEMBER(std::vector<webkit::npapi::WebPluginGeometry>,
507 plugin_window_moves) 508 plugin_window_moves)
508 509
509 // The following describes the various bits that may be set in flags: 510 // The following describes the various bits that may be set in flags:
510 // 511 //
511 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK 512 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK
512 // Indicates that this is a response to a ViewMsg_Resize message. 513 // Indicates that this is a response to a ViewMsg_Resize message.
(...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after
1903 1904
1904 // This message notifies the browser process that the plug-in 1905 // This message notifies the browser process that the plug-in
1905 // swapped the buffers associated with the given "window", which 1906 // swapped the buffers associated with the given "window", which
1906 // should cause the browser to redraw the various plug-ins' 1907 // should cause the browser to redraw the various plug-ins'
1907 // contents. 1908 // contents.
1908 IPC_MESSAGE_ROUTED2(ViewHostMsg_AcceleratedSurfaceBuffersSwapped, 1909 IPC_MESSAGE_ROUTED2(ViewHostMsg_AcceleratedSurfaceBuffersSwapped,
1909 gfx::PluginWindowHandle /* window */, 1910 gfx::PluginWindowHandle /* window */,
1910 uint64 /* surface_handle */) 1911 uint64 /* surface_handle */)
1911 #endif 1912 #endif
1912 1913
1914 // This message is synthesized by GpuProcessHost to pass through a swap message
1915 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a
1916 // software or GPU frame.
1917 IPC_MESSAGE_ROUTED4(ViewHostMsg_CompositorSurfaceBuffersSwapped,
1918 int32 /* surface id */,
1919 uint64 /* surface_handle */,
1920 int32 /* route_id */,
1921 int32 /* gpu_process_host_id */)
1922
1913 // Opens a file asynchronously. The response returns a file descriptor 1923 // Opens a file asynchronously. The response returns a file descriptor
1914 // and an error code from base/platform_file.h. 1924 // and an error code from base/platform_file.h.
1915 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, 1925 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile,
1916 FilePath /* file path */, 1926 FilePath /* file path */,
1917 int /* flags */, 1927 int /* flags */,
1918 int /* message_id */) 1928 int /* message_id */)
1919 1929
1920 //--------------------------------------------------------------------------- 1930 //---------------------------------------------------------------------------
1921 // Request for cryptographic operation messages: 1931 // Request for cryptographic operation messages:
1922 // These are messages from the renderer to the browser to perform a 1932 // These are messages from the renderer to the browser to perform a
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
2008 int /* automation_id */) 2018 int /* automation_id */)
2009 2019
2010 // Sent to the browser when the renderer detects it is blocked on a pepper 2020 // Sent to the browser when the renderer detects it is blocked on a pepper
2011 // plugin message for too long. This is also sent when it becomes unhung 2021 // plugin message for too long. This is also sent when it becomes unhung
2012 // (according to the value of is_hung). The browser can give the user the 2022 // (according to the value of is_hung). The browser can give the user the
2013 // option of killing the plugin. 2023 // option of killing the plugin.
2014 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2024 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2015 int /* plugin_child_id */, 2025 int /* plugin_child_id */,
2016 FilePath /* path */, 2026 FilePath /* path */,
2017 bool /* is_hung */) 2027 bool /* is_hung */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698