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

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

Issue 1054243002: Avoid calling the GetSystemMetrics API in the renderer process on Windows to get the scrollbar metr… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary include Created 5 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
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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 IPC_STRUCT_TRAITS_MEMBER(caption_font_height) 256 IPC_STRUCT_TRAITS_MEMBER(caption_font_height)
257 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_family_name) 257 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_family_name)
258 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_height) 258 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_height)
259 IPC_STRUCT_TRAITS_MEMBER(menu_font_family_name) 259 IPC_STRUCT_TRAITS_MEMBER(menu_font_family_name)
260 IPC_STRUCT_TRAITS_MEMBER(menu_font_height) 260 IPC_STRUCT_TRAITS_MEMBER(menu_font_height)
261 IPC_STRUCT_TRAITS_MEMBER(status_font_family_name) 261 IPC_STRUCT_TRAITS_MEMBER(status_font_family_name)
262 IPC_STRUCT_TRAITS_MEMBER(status_font_height) 262 IPC_STRUCT_TRAITS_MEMBER(status_font_height)
263 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name) 263 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name)
264 IPC_STRUCT_TRAITS_MEMBER(message_font_height) 264 IPC_STRUCT_TRAITS_MEMBER(message_font_height)
265 IPC_STRUCT_TRAITS_MEMBER(network_contry_iso) 265 IPC_STRUCT_TRAITS_MEMBER(network_contry_iso)
266 IPC_STRUCT_TRAITS_MEMBER(vertical_scroll_bar_width_in_dips)
267 IPC_STRUCT_TRAITS_MEMBER(horizontal_scroll_bar_height_in_dips)
268 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_height_vertical_scroll_bar_in_dips)
269 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_width_horizontal_scroll_bar_in_dips)
266 IPC_STRUCT_TRAITS_END() 270 IPC_STRUCT_TRAITS_END()
267 271
268 IPC_STRUCT_TRAITS_BEGIN(content::CookieData) 272 IPC_STRUCT_TRAITS_BEGIN(content::CookieData)
269 IPC_STRUCT_TRAITS_MEMBER(name) 273 IPC_STRUCT_TRAITS_MEMBER(name)
270 IPC_STRUCT_TRAITS_MEMBER(value) 274 IPC_STRUCT_TRAITS_MEMBER(value)
271 IPC_STRUCT_TRAITS_MEMBER(domain) 275 IPC_STRUCT_TRAITS_MEMBER(domain)
272 IPC_STRUCT_TRAITS_MEMBER(path) 276 IPC_STRUCT_TRAITS_MEMBER(path)
273 IPC_STRUCT_TRAITS_MEMBER(expires) 277 IPC_STRUCT_TRAITS_MEMBER(expires)
274 IPC_STRUCT_TRAITS_MEMBER(http_only) 278 IPC_STRUCT_TRAITS_MEMBER(http_only)
275 IPC_STRUCT_TRAITS_MEMBER(secure) 279 IPC_STRUCT_TRAITS_MEMBER(secure)
(...skipping 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1674 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1678 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1675 // for details. 1679 // for details.
1676 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1680 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1677 LOGFONT /* font_data */, 1681 LOGFONT /* font_data */,
1678 base::string16 /* characters */) 1682 base::string16 /* characters */)
1679 #endif 1683 #endif
1680 1684
1681 // Adding a new message? Stick to the sort order above: first platform 1685 // Adding a new message? Stick to the sort order above: first platform
1682 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1686 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1683 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1687 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698