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

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: fixed auto-resize and fullscreen toggle 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 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1905 1906
1906 // This message notifies the browser process that the plug-in 1907 // This message notifies the browser process that the plug-in
1907 // swapped the buffers associated with the given "window", which 1908 // swapped the buffers associated with the given "window", which
1908 // should cause the browser to redraw the various plug-ins' 1909 // should cause the browser to redraw the various plug-ins'
1909 // contents. 1910 // contents.
1910 IPC_MESSAGE_ROUTED2(ViewHostMsg_AcceleratedSurfaceBuffersSwapped, 1911 IPC_MESSAGE_ROUTED2(ViewHostMsg_AcceleratedSurfaceBuffersSwapped,
1911 gfx::PluginWindowHandle /* window */, 1912 gfx::PluginWindowHandle /* window */,
1912 uint64 /* surface_handle */) 1913 uint64 /* surface_handle */)
1913 #endif 1914 #endif
1914 1915
1916 // This message is synthesized by GpuProcessHost to pass through a swap message
1917 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a
1918 // software or GPU frame.
1919 IPC_MESSAGE_ROUTED4(ViewHostMsg_CompositorSurfaceBuffersSwapped,
1920 int32 /* surface id */,
1921 uint64 /* surface_handle */,
1922 int32 /* route_id */,
1923 int32 /* gpu_process_host_id */)
1924
1915 // Opens a file asynchronously. The response returns a file descriptor 1925 // Opens a file asynchronously. The response returns a file descriptor
1916 // and an error code from base/platform_file.h. 1926 // and an error code from base/platform_file.h.
1917 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, 1927 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile,
1918 FilePath /* file path */, 1928 FilePath /* file path */,
1919 int /* flags */, 1929 int /* flags */,
1920 int /* message_id */) 1930 int /* message_id */)
1921 1931
1922 //--------------------------------------------------------------------------- 1932 //---------------------------------------------------------------------------
1923 // Request for cryptographic operation messages: 1933 // Request for cryptographic operation messages:
1924 // These are messages from the renderer to the browser to perform a 1934 // These are messages from the renderer to the browser to perform a
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
2010 int /* automation_id */) 2020 int /* automation_id */)
2011 2021
2012 // Sent to the browser when the renderer detects it is blocked on a pepper 2022 // Sent to the browser when the renderer detects it is blocked on a pepper
2013 // plugin message for too long. This is also sent when it becomes unhung 2023 // plugin message for too long. This is also sent when it becomes unhung
2014 // (according to the value of is_hung). The browser can give the user the 2024 // (according to the value of is_hung). The browser can give the user the
2015 // option of killing the plugin. 2025 // option of killing the plugin.
2016 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2026 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2017 int /* plugin_child_id */, 2027 int /* plugin_child_id */,
2018 FilePath /* path */, 2028 FilePath /* path */,
2019 bool /* is_hung */) 2029 bool /* is_hung */)
OLDNEW
« no previous file with comments | « content/common/gpu/image_transport_surface_mac.cc ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698