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

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

Issue 12328080: Plumb physical backing size from RWHV to renderer CC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust for call renamed to GetViewportSizePix() Created 7 years, 9 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 "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 IPC_MESSAGE_ROUTED0(ViewMsg_TimezoneChange) 790 IPC_MESSAGE_ROUTED0(ViewMsg_TimezoneChange)
791 791
792 // Tells the render view to close. 792 // Tells the render view to close.
793 IPC_MESSAGE_ROUTED0(ViewMsg_Close) 793 IPC_MESSAGE_ROUTED0(ViewMsg_Close)
794 794
795 // Tells the render view to change its size. A ViewHostMsg_PaintRect message 795 // Tells the render view to change its size. A ViewHostMsg_PaintRect message
796 // is generated in response provided new_size is not empty and not equal to 796 // is generated in response provided new_size is not empty and not equal to
797 // the view's current size. The generated ViewHostMsg_PaintRect message will 797 // the view's current size. The generated ViewHostMsg_PaintRect message will
798 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that 798 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that
799 // we don't have to fetch it every time WebKit asks for it. 799 // we don't have to fetch it every time WebKit asks for it.
800 IPC_MESSAGE_ROUTED3(ViewMsg_Resize, 800 IPC_MESSAGE_ROUTED4(ViewMsg_Resize,
801 gfx::Size /* new_size */, 801 gfx::Size /* new_size */,
802 gfx::Size /* physical_backing_size */,
802 gfx::Rect /* resizer_rect */, 803 gfx::Rect /* resizer_rect */,
803 bool /* is_fullscreen */) 804 bool /* is_fullscreen */)
804 805
805 // Tells the render view that the resize rect has changed. 806 // Tells the render view that the resize rect has changed.
806 IPC_MESSAGE_ROUTED1(ViewMsg_ChangeResizeRect, 807 IPC_MESSAGE_ROUTED1(ViewMsg_ChangeResizeRect,
807 gfx::Rect /* resizer_rect */) 808 gfx::Rect /* resizer_rect */)
808 809
809 // Sent to inform the view that it was hidden. This allows it to reduce its 810 // Sent to inform the view that it was hidden. This allows it to reduce its
810 // resource utilization. 811 // resource utilization.
811 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden) 812 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden)
(...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after
2422 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2423 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2423 // for details. 2424 // for details.
2424 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2425 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2425 LOGFONT /* font_data */, 2426 LOGFONT /* font_data */,
2426 string16 /* characters */) 2427 string16 /* characters */)
2427 #endif 2428 #endif
2428 2429
2429 // Adding a new message? Stick to the sort order above: first platform 2430 // Adding a new message? Stick to the sort order above: first platform
2430 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2431 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2431 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2432 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.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