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

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

Issue 2138613002: Set the font family for the "system-ui" generic font family on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed char* to WebString Created 4 years, 2 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 IPC_STRUCT_TRAITS_MEMBER(webrtc_udp_min_port) 237 IPC_STRUCT_TRAITS_MEMBER(webrtc_udp_min_port)
238 IPC_STRUCT_TRAITS_MEMBER(webrtc_udp_max_port) 238 IPC_STRUCT_TRAITS_MEMBER(webrtc_udp_max_port)
239 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) 239 IPC_STRUCT_TRAITS_MEMBER(user_agent_override)
240 IPC_STRUCT_TRAITS_MEMBER(accept_languages) 240 IPC_STRUCT_TRAITS_MEMBER(accept_languages)
241 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes) 241 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes)
242 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy) 242 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy)
243 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page) 243 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page)
244 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed) 244 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed)
245 IPC_STRUCT_TRAITS_MEMBER(use_video_overlay_for_embedded_encrypted_video) 245 IPC_STRUCT_TRAITS_MEMBER(use_video_overlay_for_embedded_encrypted_video)
246 IPC_STRUCT_TRAITS_MEMBER(network_contry_iso) 246 IPC_STRUCT_TRAITS_MEMBER(network_contry_iso)
247 #if defined(OS_LINUX)
248 IPC_STRUCT_TRAITS_MEMBER(system_font_family_name)
249 #endif
247 #if defined(OS_WIN) 250 #if defined(OS_WIN)
248 IPC_STRUCT_TRAITS_MEMBER(caption_font_family_name) 251 IPC_STRUCT_TRAITS_MEMBER(caption_font_family_name)
249 IPC_STRUCT_TRAITS_MEMBER(caption_font_height) 252 IPC_STRUCT_TRAITS_MEMBER(caption_font_height)
250 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_family_name) 253 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_family_name)
251 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_height) 254 IPC_STRUCT_TRAITS_MEMBER(small_caption_font_height)
252 IPC_STRUCT_TRAITS_MEMBER(menu_font_family_name) 255 IPC_STRUCT_TRAITS_MEMBER(menu_font_family_name)
253 IPC_STRUCT_TRAITS_MEMBER(menu_font_height) 256 IPC_STRUCT_TRAITS_MEMBER(menu_font_height)
254 IPC_STRUCT_TRAITS_MEMBER(status_font_family_name) 257 IPC_STRUCT_TRAITS_MEMBER(status_font_family_name)
255 IPC_STRUCT_TRAITS_MEMBER(status_font_height) 258 IPC_STRUCT_TRAITS_MEMBER(status_font_height)
256 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name) 259 IPC_STRUCT_TRAITS_MEMBER(message_font_family_name)
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 int /* y */) 951 int /* y */)
949 952
950 #elif defined(OS_MACOSX) 953 #elif defined(OS_MACOSX)
951 // Receives content of a web page as plain text. 954 // Receives content of a web page as plain text.
952 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 955 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
953 #endif 956 #endif
954 957
955 // Adding a new message? Stick to the sort order above: first platform 958 // Adding a new message? Stick to the sort order above: first platform
956 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 959 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
957 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 960 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698