Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 79 IPC_ENUM_TRAITS(WebKit::WebTextDirection) | 79 IPC_ENUM_TRAITS(WebKit::WebTextDirection) |
| 80 IPC_ENUM_TRAITS(WebMenuItem::Type) | 80 IPC_ENUM_TRAITS(WebMenuItem::Type) |
| 81 IPC_ENUM_TRAITS(WindowContainerType) | 81 IPC_ENUM_TRAITS(WindowContainerType) |
| 82 IPC_ENUM_TRAITS(content::FaviconURL::IconType) | 82 IPC_ENUM_TRAITS(content::FaviconURL::IconType) |
| 83 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) | 83 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) |
| 84 IPC_ENUM_TRAITS(content::JavaScriptMessageType) | 84 IPC_ENUM_TRAITS(content::JavaScriptMessageType) |
| 85 IPC_ENUM_TRAITS(content::NavigationGesture) | 85 IPC_ENUM_TRAITS(content::NavigationGesture) |
| 86 IPC_ENUM_TRAITS(content::PageZoom) | 86 IPC_ENUM_TRAITS(content::PageZoom) |
| 87 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) | 87 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) |
| 88 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) | 88 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) |
| 89 IPC_ENUM_TRAITS(content::DidTapMultipleTargetsStrategy) | |
|
jochen (gone - plz use gerrit)
2013/07/22 07:46:33
plz use IPC_ENUM_TRAITS_MAX_VALUE()
| |
| 89 IPC_ENUM_TRAITS(content::StopFindAction) | 90 IPC_ENUM_TRAITS(content::StopFindAction) |
| 90 IPC_ENUM_TRAITS(content::ThreeDAPIType) | 91 IPC_ENUM_TRAITS(content::ThreeDAPIType) |
| 91 IPC_ENUM_TRAITS(media::ChannelLayout) | 92 IPC_ENUM_TRAITS(media::ChannelLayout) |
| 92 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) | 93 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) |
| 93 IPC_ENUM_TRAITS(ui::MenuSourceType) | 94 IPC_ENUM_TRAITS(ui::MenuSourceType) |
| 94 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputMode, ui::TEXT_INPUT_MODE_MAX) | 95 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputMode, ui::TEXT_INPUT_MODE_MAX) |
| 95 IPC_ENUM_TRAITS(ui::TextInputType) | 96 IPC_ENUM_TRAITS(ui::TextInputType) |
| 96 | 97 |
| 97 #if defined(OS_MACOSX) | 98 #if defined(OS_MACOSX) |
| 98 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) | 99 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 260 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) | 261 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) |
| 261 IPC_STRUCT_TRAITS_MEMBER(use_custom_colors) | 262 IPC_STRUCT_TRAITS_MEMBER(use_custom_colors) |
| 262 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) | 263 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) |
| 263 IPC_STRUCT_TRAITS_MEMBER(enable_do_not_track) | 264 IPC_STRUCT_TRAITS_MEMBER(enable_do_not_track) |
| 264 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) | 265 IPC_STRUCT_TRAITS_MEMBER(default_zoom_level) |
| 265 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) | 266 IPC_STRUCT_TRAITS_MEMBER(user_agent_override) |
| 266 IPC_STRUCT_TRAITS_MEMBER(accept_languages) | 267 IPC_STRUCT_TRAITS_MEMBER(accept_languages) |
| 267 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes) | 268 IPC_STRUCT_TRAITS_MEMBER(report_frame_name_changes) |
| 268 IPC_STRUCT_TRAITS_MEMBER(touchpad_fling_profile) | 269 IPC_STRUCT_TRAITS_MEMBER(touchpad_fling_profile) |
| 269 IPC_STRUCT_TRAITS_MEMBER(touchscreen_fling_profile) | 270 IPC_STRUCT_TRAITS_MEMBER(touchscreen_fling_profile) |
| 271 IPC_STRUCT_TRAITS_MEMBER(did_tap_multiple_targets_strategy) | |
| 270 IPC_STRUCT_TRAITS_END() | 272 IPC_STRUCT_TRAITS_END() |
| 271 | 273 |
| 272 IPC_STRUCT_TRAITS_BEGIN(content::CookieData) | 274 IPC_STRUCT_TRAITS_BEGIN(content::CookieData) |
| 273 IPC_STRUCT_TRAITS_MEMBER(name) | 275 IPC_STRUCT_TRAITS_MEMBER(name) |
| 274 IPC_STRUCT_TRAITS_MEMBER(value) | 276 IPC_STRUCT_TRAITS_MEMBER(value) |
| 275 IPC_STRUCT_TRAITS_MEMBER(domain) | 277 IPC_STRUCT_TRAITS_MEMBER(domain) |
| 276 IPC_STRUCT_TRAITS_MEMBER(path) | 278 IPC_STRUCT_TRAITS_MEMBER(path) |
| 277 IPC_STRUCT_TRAITS_MEMBER(expires) | 279 IPC_STRUCT_TRAITS_MEMBER(expires) |
| 278 IPC_STRUCT_TRAITS_MEMBER(http_only) | 280 IPC_STRUCT_TRAITS_MEMBER(http_only) |
| 279 IPC_STRUCT_TRAITS_MEMBER(secure) | 281 IPC_STRUCT_TRAITS_MEMBER(secure) |
| (...skipping 2054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2334 // synchronously (see crbug.com/120597). This IPC message sends the character | 2336 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2335 // bounds after every composition change to always have correct bound info. | 2337 // bounds after every composition change to always have correct bound info. |
| 2336 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2338 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2337 ui::Range /* composition range */, | 2339 ui::Range /* composition range */, |
| 2338 std::vector<gfx::Rect> /* character bounds */) | 2340 std::vector<gfx::Rect> /* character bounds */) |
| 2339 #endif | 2341 #endif |
| 2340 | 2342 |
| 2341 // Adding a new message? Stick to the sort order above: first platform | 2343 // Adding a new message? Stick to the sort order above: first platform |
| 2342 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2344 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2343 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2345 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |