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

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

Issue 1203503002: [DevTools] Implement screen size and position in Emulation.setDeviceMetricsOverrides. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screen-size-stub
Patch Set: Fixed nit Created 5 years, 6 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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 IPC_STRUCT_TRAITS_MEMBER(height) 151 IPC_STRUCT_TRAITS_MEMBER(height)
152 IPC_STRUCT_TRAITS_END() 152 IPC_STRUCT_TRAITS_END()
153 153
154 IPC_STRUCT_TRAITS_BEGIN(blink::WebSize) 154 IPC_STRUCT_TRAITS_BEGIN(blink::WebSize)
155 IPC_STRUCT_TRAITS_MEMBER(width) 155 IPC_STRUCT_TRAITS_MEMBER(width)
156 IPC_STRUCT_TRAITS_MEMBER(height) 156 IPC_STRUCT_TRAITS_MEMBER(height)
157 IPC_STRUCT_TRAITS_END() 157 IPC_STRUCT_TRAITS_END()
158 158
159 IPC_STRUCT_TRAITS_BEGIN(blink::WebDeviceEmulationParams) 159 IPC_STRUCT_TRAITS_BEGIN(blink::WebDeviceEmulationParams)
160 IPC_STRUCT_TRAITS_MEMBER(screenPosition) 160 IPC_STRUCT_TRAITS_MEMBER(screenPosition)
161 IPC_STRUCT_TRAITS_MEMBER(screenSize)
162 IPC_STRUCT_TRAITS_MEMBER(viewPosition)
161 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) 163 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor)
162 IPC_STRUCT_TRAITS_MEMBER(viewSize) 164 IPC_STRUCT_TRAITS_MEMBER(viewSize)
163 IPC_STRUCT_TRAITS_MEMBER(fitToView) 165 IPC_STRUCT_TRAITS_MEMBER(fitToView)
164 IPC_STRUCT_TRAITS_MEMBER(offset) 166 IPC_STRUCT_TRAITS_MEMBER(offset)
165 IPC_STRUCT_TRAITS_MEMBER(scale) 167 IPC_STRUCT_TRAITS_MEMBER(scale)
166 IPC_STRUCT_TRAITS_END() 168 IPC_STRUCT_TRAITS_END()
167 169
168 IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo) 170 IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo)
169 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) 171 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor)
170 IPC_STRUCT_TRAITS_MEMBER(depth) 172 IPC_STRUCT_TRAITS_MEMBER(depth)
(...skipping 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after
1609 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1611 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1610 // for details. 1612 // for details.
1611 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1613 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1612 LOGFONT /* font_data */, 1614 LOGFONT /* font_data */,
1613 base::string16 /* characters */) 1615 base::string16 /* characters */)
1614 #endif 1616 #endif
1615 1617
1616 // Adding a new message? Stick to the sort order above: first platform 1618 // Adding a new message? Stick to the sort order above: first platform
1617 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1619 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1618 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1620 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698