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

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

Issue 11348033: Initialize device scale factor correctly on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't truncate scale factor on Chrome OS. Created 8 years, 1 month 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFloatRect) 117 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFloatRect)
118 IPC_STRUCT_TRAITS_MEMBER(x) 118 IPC_STRUCT_TRAITS_MEMBER(x)
119 IPC_STRUCT_TRAITS_MEMBER(y) 119 IPC_STRUCT_TRAITS_MEMBER(y)
120 IPC_STRUCT_TRAITS_MEMBER(width) 120 IPC_STRUCT_TRAITS_MEMBER(width)
121 IPC_STRUCT_TRAITS_MEMBER(height) 121 IPC_STRUCT_TRAITS_MEMBER(height)
122 IPC_STRUCT_TRAITS_END() 122 IPC_STRUCT_TRAITS_END()
123 123
124 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo) 124 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo)
125 IPC_STRUCT_TRAITS_MEMBER(verticalDPI) 125 IPC_STRUCT_TRAITS_MEMBER(verticalDPI)
126 IPC_STRUCT_TRAITS_MEMBER(horizontalDPI) 126 IPC_STRUCT_TRAITS_MEMBER(horizontalDPI)
127 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor)
127 IPC_STRUCT_TRAITS_MEMBER(depth) 128 IPC_STRUCT_TRAITS_MEMBER(depth)
128 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) 129 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent)
129 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) 130 IPC_STRUCT_TRAITS_MEMBER(isMonochrome)
130 IPC_STRUCT_TRAITS_MEMBER(rect) 131 IPC_STRUCT_TRAITS_MEMBER(rect)
131 IPC_STRUCT_TRAITS_MEMBER(availableRect) 132 IPC_STRUCT_TRAITS_MEMBER(availableRect)
132 IPC_STRUCT_TRAITS_END() 133 IPC_STRUCT_TRAITS_END()
133 134
134 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebPreferences) 135 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebPreferences)
135 IPC_STRUCT_TRAITS_MEMBER(standard_font_family_map) 136 IPC_STRUCT_TRAITS_MEMBER(standard_font_family_map)
136 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family_map) 137 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family_map)
(...skipping 2259 matching lines...) Expand 10 before | Expand all | Expand 10 after
2396 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, 2397 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent,
2397 GURL /* content_url */) 2398 GURL /* content_url */)
2398 #endif 2399 #endif
2399 2400
2400 // Notifies that multiple touch targets may have been pressed, and to show 2401 // Notifies that multiple touch targets may have been pressed, and to show
2401 // the disambiguation popup. 2402 // the disambiguation popup.
2402 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, 2403 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup,
2403 gfx::Rect, /* Border of touched targets */ 2404 gfx::Rect, /* Border of touched targets */
2404 gfx::Size, /* Size of zoomed image */ 2405 gfx::Size, /* Size of zoomed image */
2405 TransportDIB::Id /* DIB of zoomed image */) 2406 TransportDIB::Id /* DIB of zoomed image */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698