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

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 some perf issues on mac 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
510 // GPU SwapBuffers params:
511 IPC_STRUCT_MEMBER(int32, gpu_surface_id)
512 IPC_STRUCT_MEMBER(uint64, gpu_surface_handle)
513 IPC_STRUCT_MEMBER(int32, gpu_route_id)
514 IPC_STRUCT_MEMBER(int32, gpu_process_host_id)
piman 2012/04/18 20:02:00 Ok, these fields look completely arbitrary. In Gpu
jbates 2012/04/18 23:01:58 I think that would be cleaner with this CL, but it
piman 2012/04/18 23:32:22 I think we should do that change (or whatever is r
jbates 2012/04/19 01:24:18 Sounds good, I'll put up a new CL tomorrow-ish.
515
509 // The following describes the various bits that may be set in flags: 516 // The following describes the various bits that may be set in flags:
510 // 517 //
511 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK 518 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK
512 // Indicates that this is a response to a ViewMsg_Resize message. 519 // Indicates that this is a response to a ViewMsg_Resize message.
513 // 520 //
514 // ViewHostMsg_UpdateRect_Flags::IS_RESTORE_ACK 521 // ViewHostMsg_UpdateRect_Flags::IS_RESTORE_ACK
515 // Indicates that this is a response to a ViewMsg_WasRestored message. 522 // Indicates that this is a response to a ViewMsg_WasRestored message.
516 // 523 //
517 // ViewHostMsg_UpdateRect_Flags::IS_REPAINT_ACK 524 // ViewHostMsg_UpdateRect_Flags::IS_REPAINT_ACK
518 // Indicates that this is a response to a ViewMsg_Repaint message. 525 // Indicates that this is a response to a ViewMsg_Repaint message.
(...skipping 1489 matching lines...) Expand 10 before | Expand all | Expand 10 after
2008 int /* automation_id */) 2015 int /* automation_id */)
2009 2016
2010 // Sent to the browser when the renderer detects it is blocked on a pepper 2017 // 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 2018 // 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 2019 // (according to the value of is_hung). The browser can give the user the
2013 // option of killing the plugin. 2020 // option of killing the plugin.
2014 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2021 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2015 int /* plugin_child_id */, 2022 int /* plugin_child_id */,
2016 FilePath /* path */, 2023 FilePath /* path */,
2017 bool /* is_hung */) 2024 bool /* is_hung */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698