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

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

Issue 2954793002: color: Replace more instances of ICCProfile with ColorSpace (Closed)
Patch Set: Created 3 years, 5 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" 49 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h"
50 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h" 50 #include "third_party/WebKit/public/web/WebMediaPlayerAction.h"
51 #include "third_party/WebKit/public/web/WebPluginAction.h" 51 #include "third_party/WebKit/public/web/WebPluginAction.h"
52 #include "third_party/WebKit/public/web/WebPopupType.h" 52 #include "third_party/WebKit/public/web/WebPopupType.h"
53 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h" 53 #include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h"
54 #include "third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h" 54 #include "third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h"
55 #include "third_party/WebKit/public/web/WebTextDirection.h" 55 #include "third_party/WebKit/public/web/WebTextDirection.h"
56 #include "ui/base/ime/text_input_mode.h" 56 #include "ui/base/ime/text_input_mode.h"
57 #include "ui/base/ime/text_input_type.h" 57 #include "ui/base/ime/text_input_type.h"
58 #include "ui/base/ui_base_types.h" 58 #include "ui/base/ui_base_types.h"
59 #include "ui/gfx/color_space.h"
59 #include "ui/gfx/geometry/point.h" 60 #include "ui/gfx/geometry/point.h"
60 #include "ui/gfx/geometry/rect.h" 61 #include "ui/gfx/geometry/rect.h"
61 #include "ui/gfx/geometry/rect_f.h" 62 #include "ui/gfx/geometry/rect_f.h"
62 #include "ui/gfx/geometry/vector2d.h" 63 #include "ui/gfx/geometry/vector2d.h"
63 #include "ui/gfx/geometry/vector2d_f.h" 64 #include "ui/gfx/geometry/vector2d_f.h"
64 #include "ui/gfx/icc_profile.h"
65 #include "ui/gfx/ipc/color/gfx_param_traits.h" 65 #include "ui/gfx/ipc/color/gfx_param_traits.h"
66 #include "ui/gfx/ipc/gfx_param_traits.h" 66 #include "ui/gfx/ipc/gfx_param_traits.h"
67 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" 67 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
68 68
69 #if defined(OS_MACOSX) 69 #if defined(OS_MACOSX)
70 #include "third_party/WebKit/public/platform/WebScrollbarButtonsPlacement.h" 70 #include "third_party/WebKit/public/platform/WebScrollbarButtonsPlacement.h"
71 #include "third_party/WebKit/public/platform/mac/WebScrollbarTheme.h" 71 #include "third_party/WebKit/public/platform/mac/WebScrollbarTheme.h"
72 #endif 72 #endif
73 73
74 #undef IPC_MESSAGE_EXPORT 74 #undef IPC_MESSAGE_EXPORT
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 IPC_STRUCT_TRAITS_MEMBER(view_size) 157 IPC_STRUCT_TRAITS_MEMBER(view_size)
158 IPC_STRUCT_TRAITS_MEMBER(fit_to_view) 158 IPC_STRUCT_TRAITS_MEMBER(fit_to_view)
159 IPC_STRUCT_TRAITS_MEMBER(offset) 159 IPC_STRUCT_TRAITS_MEMBER(offset)
160 IPC_STRUCT_TRAITS_MEMBER(scale) 160 IPC_STRUCT_TRAITS_MEMBER(scale)
161 IPC_STRUCT_TRAITS_MEMBER(screen_orientation_angle) 161 IPC_STRUCT_TRAITS_MEMBER(screen_orientation_angle)
162 IPC_STRUCT_TRAITS_MEMBER(screen_orientation_type) 162 IPC_STRUCT_TRAITS_MEMBER(screen_orientation_type)
163 IPC_STRUCT_TRAITS_END() 163 IPC_STRUCT_TRAITS_END()
164 164
165 IPC_STRUCT_TRAITS_BEGIN(content::ScreenInfo) 165 IPC_STRUCT_TRAITS_BEGIN(content::ScreenInfo)
166 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) 166 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
167 IPC_STRUCT_TRAITS_MEMBER(icc_profile) 167 IPC_STRUCT_TRAITS_MEMBER(color_space)
168 IPC_STRUCT_TRAITS_MEMBER(depth) 168 IPC_STRUCT_TRAITS_MEMBER(depth)
169 IPC_STRUCT_TRAITS_MEMBER(depth_per_component) 169 IPC_STRUCT_TRAITS_MEMBER(depth_per_component)
170 IPC_STRUCT_TRAITS_MEMBER(is_monochrome) 170 IPC_STRUCT_TRAITS_MEMBER(is_monochrome)
171 IPC_STRUCT_TRAITS_MEMBER(rect) 171 IPC_STRUCT_TRAITS_MEMBER(rect)
172 IPC_STRUCT_TRAITS_MEMBER(available_rect) 172 IPC_STRUCT_TRAITS_MEMBER(available_rect)
173 IPC_STRUCT_TRAITS_MEMBER(orientation_type) 173 IPC_STRUCT_TRAITS_MEMBER(orientation_type)
174 IPC_STRUCT_TRAITS_MEMBER(orientation_angle) 174 IPC_STRUCT_TRAITS_MEMBER(orientation_angle)
175 IPC_STRUCT_TRAITS_END() 175 IPC_STRUCT_TRAITS_END()
176 176
177 IPC_STRUCT_TRAITS_BEGIN(content::ResizeParams) 177 IPC_STRUCT_TRAITS_BEGIN(content::ResizeParams)
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 int /* y */) 882 int /* y */)
883 883
884 #elif defined(OS_MACOSX) 884 #elif defined(OS_MACOSX)
885 // Receives content of a web page as plain text. 885 // Receives content of a web page as plain text.
886 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 886 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
887 #endif 887 #endif
888 888
889 // Adding a new message? Stick to the sort order above: first platform 889 // Adding a new message? Stick to the sort order above: first platform
890 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 890 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
891 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 891 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_mac.mm ('k') | content/public/common/screen_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698