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

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

Issue 1804023002: Fix page zoom to be frame-centric for out-of-process frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Send zoom change notifications for updates triggered by default page zoom changes. Created 4 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 IPC_STRUCT_TRAITS_MEMBER(active_selection_bg_color) 249 IPC_STRUCT_TRAITS_MEMBER(active_selection_bg_color)
250 IPC_STRUCT_TRAITS_MEMBER(active_selection_fg_color) 250 IPC_STRUCT_TRAITS_MEMBER(active_selection_fg_color)
251 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_bg_color) 251 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_bg_color)
252 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_fg_color) 252 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_fg_color)
253 IPC_STRUCT_TRAITS_MEMBER(browser_handles_all_top_level_requests) 253 IPC_STRUCT_TRAITS_MEMBER(browser_handles_all_top_level_requests)
254 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) 254 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval)
255 IPC_STRUCT_TRAITS_MEMBER(use_custom_colors) 255 IPC_STRUCT_TRAITS_MEMBER(use_custom_colors)
256 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) 256 IPC_STRUCT_TRAITS_MEMBER(enable_referrers)
257 IPC_STRUCT_TRAITS_MEMBER(enable_do_not_track) 257 IPC_STRUCT_TRAITS_MEMBER(enable_do_not_track)
258 IPC_STRUCT_TRAITS_MEMBER(webrtc_ip_handling_policy) 258 IPC_STRUCT_TRAITS_MEMBER(webrtc_ip_handling_policy)
259 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level)
260 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) 259 IPC_STRUCT_TRAITS_MEMBER(user_agent_override)
261 IPC_STRUCT_TRAITS_MEMBER(accept_languages) 260 IPC_STRUCT_TRAITS_MEMBER(accept_languages)
262 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes) 261 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes)
263 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy) 262 IPC_STRUCT_TRAITS_MEMBER(tap_multiple_targets_strategy)
264 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page) 263 IPC_STRUCT_TRAITS_MEMBER(disable_client_blocked_error_page)
265 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed) 264 IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed)
266 IPC_STRUCT_TRAITS_MEMBER(use_video_overlay_for_embedded_encrypted_video) 265 IPC_STRUCT_TRAITS_MEMBER(use_video_overlay_for_embedded_encrypted_video)
267 IPC_STRUCT_TRAITS_MEMBER(use_view_overlay_for_all_video) 266 IPC_STRUCT_TRAITS_MEMBER(use_view_overlay_for_all_video)
268 IPC_STRUCT_TRAITS_MEMBER(network_contry_iso) 267 IPC_STRUCT_TRAITS_MEMBER(network_contry_iso)
269 #if defined(OS_WIN) 268 #if defined(OS_WIN)
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 double /* zoom_level */) 690 double /* zoom_level */)
692 691
693 // Set the zoom level for a particular url, so all render views 692 // Set the zoom level for a particular url, so all render views
694 // displaying this url can update their zoom levels to match. 693 // displaying this url can update their zoom levels to match.
695 // If scheme is empty, then only host is used for matching. 694 // If scheme is empty, then only host is used for matching.
696 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL, 695 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL,
697 std::string /* scheme */, 696 std::string /* scheme */,
698 std::string /* host */, 697 std::string /* host */,
699 double /* zoom_level */) 698 double /* zoom_level */)
700 699
701 // Set the zoom level for a particular render view.
702 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForView,
703 bool /* uses_temporary_zoom_level */,
704 double /* zoom_level */)
705
706 // Change encoding of page in the renderer. 700 // Change encoding of page in the renderer.
707 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, 701 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,
708 std::string /*new encoding name*/) 702 std::string /*new encoding name*/)
709 703
710 // Reset encoding of page in the renderer back to default. 704 // Reset encoding of page in the renderer back to default.
711 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) 705 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault)
712 706
713 // Used to tell a render view whether it should expose various bindings 707 // Used to tell a render view whether it should expose various bindings
714 // that allow JS content extended privileges. See BindingsPolicy for valid 708 // that allow JS content extended privileges. See BindingsPolicy for valid
715 // flag values. 709 // flag values.
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
1310 // Instructs the browser to start plugin IME. 1304 // Instructs the browser to start plugin IME.
1311 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) 1305 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme)
1312 1306
1313 // Receives content of a web page as plain text. 1307 // Receives content of a web page as plain text.
1314 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 1308 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
1315 #endif 1309 #endif
1316 1310
1317 // Adding a new message? Stick to the sort order above: first platform 1311 // Adding a new message? Stick to the sort order above: first platform
1318 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1312 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1319 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1313 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698