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

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

Issue 10384128: Quote WebPreferences in namespace webkit_glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2012 Created 8 years, 7 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 | Annotate | Revision Log
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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo) 120 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo)
121 IPC_STRUCT_TRAITS_MEMBER(verticalDPI) 121 IPC_STRUCT_TRAITS_MEMBER(verticalDPI)
122 IPC_STRUCT_TRAITS_MEMBER(horizontalDPI) 122 IPC_STRUCT_TRAITS_MEMBER(horizontalDPI)
123 IPC_STRUCT_TRAITS_MEMBER(depth) 123 IPC_STRUCT_TRAITS_MEMBER(depth)
124 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) 124 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent)
125 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) 125 IPC_STRUCT_TRAITS_MEMBER(isMonochrome)
126 IPC_STRUCT_TRAITS_MEMBER(rect) 126 IPC_STRUCT_TRAITS_MEMBER(rect)
127 IPC_STRUCT_TRAITS_MEMBER(availableRect) 127 IPC_STRUCT_TRAITS_MEMBER(availableRect)
128 IPC_STRUCT_TRAITS_END() 128 IPC_STRUCT_TRAITS_END()
129 129
130 IPC_STRUCT_TRAITS_BEGIN(WebPreferences) 130 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebPreferences)
131 IPC_STRUCT_TRAITS_MEMBER(standard_font_family) 131 IPC_STRUCT_TRAITS_MEMBER(standard_font_family)
132 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family) 132 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family)
133 IPC_STRUCT_TRAITS_MEMBER(serif_font_family) 133 IPC_STRUCT_TRAITS_MEMBER(serif_font_family)
134 IPC_STRUCT_TRAITS_MEMBER(sans_serif_font_family) 134 IPC_STRUCT_TRAITS_MEMBER(sans_serif_font_family)
135 IPC_STRUCT_TRAITS_MEMBER(cursive_font_family) 135 IPC_STRUCT_TRAITS_MEMBER(cursive_font_family)
136 IPC_STRUCT_TRAITS_MEMBER(fantasy_font_family) 136 IPC_STRUCT_TRAITS_MEMBER(fantasy_font_family)
137 IPC_STRUCT_TRAITS_MEMBER(standard_font_family_map) 137 IPC_STRUCT_TRAITS_MEMBER(standard_font_family_map)
138 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family_map) 138 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family_map)
139 IPC_STRUCT_TRAITS_MEMBER(serif_font_family_map) 139 IPC_STRUCT_TRAITS_MEMBER(serif_font_family_map)
140 IPC_STRUCT_TRAITS_MEMBER(sans_serif_font_family_map) 140 IPC_STRUCT_TRAITS_MEMBER(sans_serif_font_family_map)
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 IPC_STRUCT_END() 615 IPC_STRUCT_END()
616 616
617 IPC_STRUCT_BEGIN(ViewMsg_New_Params) 617 IPC_STRUCT_BEGIN(ViewMsg_New_Params)
618 // The parent window's id. 618 // The parent window's id.
619 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) 619 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window)
620 620
621 // Renderer-wide preferences. 621 // Renderer-wide preferences.
622 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) 622 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences)
623 623
624 // Preferences for this view. 624 // Preferences for this view.
625 IPC_STRUCT_MEMBER(WebPreferences, web_preferences) 625 IPC_STRUCT_MEMBER(webkit_glue::WebPreferences, web_preferences)
626 626
627 // The ID of the view to be created. 627 // The ID of the view to be created.
628 IPC_STRUCT_MEMBER(int32, view_id) 628 IPC_STRUCT_MEMBER(int32, view_id)
629 629
630 // The ID of the rendering surface. 630 // The ID of the rendering surface.
631 IPC_STRUCT_MEMBER(int32, surface_id) 631 IPC_STRUCT_MEMBER(int32, surface_id)
632 632
633 // The session storage namespace ID this view should use. 633 // The session storage namespace ID this view should use.
634 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) 634 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id)
635 635
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 // first, and we need to update it. 720 // first, and we need to update it.
721 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, 721 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK,
722 gfx::NativeViewId /* parent_hwnd */) 722 gfx::NativeViewId /* parent_hwnd */)
723 723
724 // Sends updated preferences to the renderer. 724 // Sends updated preferences to the renderer.
725 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, 725 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs,
726 content::RendererPreferences) 726 content::RendererPreferences)
727 727
728 // This passes a set of webkit preferences down to the renderer. 728 // This passes a set of webkit preferences down to the renderer.
729 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, 729 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences,
730 WebPreferences) 730 webkit_glue::WebPreferences)
731 731
732 // Tells the render view to close. 732 // Tells the render view to close.
733 IPC_MESSAGE_ROUTED0(ViewMsg_Close) 733 IPC_MESSAGE_ROUTED0(ViewMsg_Close)
734 734
735 // Tells the render view to change its size. A ViewHostMsg_PaintRect message 735 // Tells the render view to change its size. A ViewHostMsg_PaintRect message
736 // is generated in response provided new_size is not empty and not equal to 736 // is generated in response provided new_size is not empty and not equal to
737 // the view's current size. The generated ViewHostMsg_PaintRect message will 737 // the view's current size. The generated ViewHostMsg_PaintRect message will
738 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that 738 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that
739 // we don't have to fetch it every time WebKit asks for it. 739 // we don't have to fetch it every time WebKit asks for it.
740 IPC_MESSAGE_ROUTED3(ViewMsg_Resize, 740 IPC_MESSAGE_ROUTED3(ViewMsg_Resize,
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
2028 int /* automation_id */) 2028 int /* automation_id */)
2029 2029
2030 // Sent to the browser when the renderer detects it is blocked on a pepper 2030 // Sent to the browser when the renderer detects it is blocked on a pepper
2031 // plugin message for too long. This is also sent when it becomes unhung 2031 // plugin message for too long. This is also sent when it becomes unhung
2032 // (according to the value of is_hung). The browser can give the user the 2032 // (according to the value of is_hung). The browser can give the user the
2033 // option of killing the plugin. 2033 // option of killing the plugin.
2034 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2034 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2035 int /* plugin_child_id */, 2035 int /* plugin_child_id */,
2036 FilePath /* path */, 2036 FilePath /* path */,
2037 bool /* is_hung */) 2037 bool /* is_hung */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698