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

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: Fix build error in view_messages 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 IPC_STRUCT_TRAITS_MEMBER(enable_webrtc_multiple_routes) 245 IPC_STRUCT_TRAITS_MEMBER(enable_webrtc_multiple_routes)
246 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) 246 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level)
247 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) 247 IPC_STRUCT_TRAITS_MEMBER(user_agent_override)
248 IPC_STRUCT_TRAITS_MEMBER(accept_languages) 248 IPC_STRUCT_TRAITS_MEMBER(accept_languages)
249 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes) 249 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes)
250 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy) 250 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy)
251 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page) 251 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page)
252 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed) 252 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed)
253 IPC_STRUCT_TRAITS_MEMBER(use_video_overlay_for_embedded_encrypted_video) 253 IPC_STRUCT_TRAITS_MEMBER(use_video_overlay_for_embedded_encrypted_video)
254 IPC_STRUCT_TRAITS_MEMBER(use_view_overlay_for_all_video) 254 IPC_STRUCT_TRAITS_MEMBER(use_view_overlay_for_all_video)
255 IPC_STRUCT_TRAITS_MEMBER(network_contry_iso)
256 #if defined(OS_WIN)
255 IPC_STRUCT_TRAITS_MEMBER(caption_font_family_name) 257 IPC_STRUCT_TRAITS_MEMBER(caption_font_family_name)
256 IPC_STRUCT_TRAITS_MEMBER(caption_font_height) 258 IPC_STRUCT_TRAITS_MEMBER(caption_font_height)
257 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_family_name) 259 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_family_name)
258 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_height) 260 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_height)
259 IPC_STRUCT_TRAITS_MEMBER(menu_font_family_name) 261 IPC_STRUCT_TRAITS_MEMBER(menu_font_family_name)
260 IPC_STRUCT_TRAITS_MEMBER(menu_font_height) 262 IPC_STRUCT_TRAITS_MEMBER(menu_font_height)
261 IPC_STRUCT_TRAITS_MEMBER(status_font_family_name) 263 IPC_STRUCT_TRAITS_MEMBER(status_font_family_name)
262 IPC_STRUCT_TRAITS_MEMBER(status_font_height) 264 IPC_STRUCT_TRAITS_MEMBER(status_font_height)
263 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name) 265 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name)
264 IPC_STRUCT_TRAITS_MEMBER(message_font_height) 266 IPC_STRUCT_TRAITS_MEMBER(message_font_height)
265 IPC_STRUCT_TRAITS_MEMBER(network_contry_iso) 267 IPC_STRUCT_TRAITS_MEMBER(vertical_scroll_bar_width_in_dips)
268 IPC_STRUCT_TRAITS_MEMBER(horizontal_scroll_bar_height_in_dips)
269 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_height_vertical_scroll_bar_in_dips)
270 IPC_STRUCT_TRAITS_MEMBER(arrow_bitmap_width_horizontal_scroll_bar_in_dips)
271 #endif
266 IPC_STRUCT_TRAITS_END() 272 IPC_STRUCT_TRAITS_END()
267 273
268 IPC_STRUCT_TRAITS_BEGIN(content::CookieData) 274 IPC_STRUCT_TRAITS_BEGIN(content::CookieData)
269 IPC_STRUCT_TRAITS_MEMBER(name) 275 IPC_STRUCT_TRAITS_MEMBER(name)
270 IPC_STRUCT_TRAITS_MEMBER(value) 276 IPC_STRUCT_TRAITS_MEMBER(value)
271 IPC_STRUCT_TRAITS_MEMBER(domain) 277 IPC_STRUCT_TRAITS_MEMBER(domain)
272 IPC_STRUCT_TRAITS_MEMBER(path) 278 IPC_STRUCT_TRAITS_MEMBER(path)
273 IPC_STRUCT_TRAITS_MEMBER(expires) 279 IPC_STRUCT_TRAITS_MEMBER(expires)
274 IPC_STRUCT_TRAITS_MEMBER(http_only) 280 IPC_STRUCT_TRAITS_MEMBER(http_only)
275 IPC_STRUCT_TRAITS_MEMBER(secure) 281 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 1680 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1675 // for details. 1681 // for details.
1676 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1682 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1677 LOGFONT /* font_data */, 1683 LOGFONT /* font_data */,
1678 base::string16 /* characters */) 1684 base::string16 /* characters */)
1679 #endif 1685 #endif
1680 1686
1681 // Adding a new message? Stick to the sort order above: first platform 1687 // Adding a new message? Stick to the sort order above: first platform
1682 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1688 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1683 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1689 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/child/webthemeengine_impl_default.cc ('k') | content/public/common/renderer_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698