| 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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
| 9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 IPC_STRUCT_TRAITS_MEMBER(frame_url) | 173 IPC_STRUCT_TRAITS_MEMBER(frame_url) |
| 174 IPC_STRUCT_TRAITS_MEMBER(frame_page_state) | 174 IPC_STRUCT_TRAITS_MEMBER(frame_page_state) |
| 175 IPC_STRUCT_TRAITS_MEMBER(media_flags) | 175 IPC_STRUCT_TRAITS_MEMBER(media_flags) |
| 176 IPC_STRUCT_TRAITS_MEMBER(selection_text) | 176 IPC_STRUCT_TRAITS_MEMBER(selection_text) |
| 177 IPC_STRUCT_TRAITS_MEMBER(misspelled_word) | 177 IPC_STRUCT_TRAITS_MEMBER(misspelled_word) |
| 178 IPC_STRUCT_TRAITS_MEMBER(misspelling_hash) | 178 IPC_STRUCT_TRAITS_MEMBER(misspelling_hash) |
| 179 IPC_STRUCT_TRAITS_MEMBER(dictionary_suggestions) | 179 IPC_STRUCT_TRAITS_MEMBER(dictionary_suggestions) |
| 180 IPC_STRUCT_TRAITS_MEMBER(speech_input_enabled) | 180 IPC_STRUCT_TRAITS_MEMBER(speech_input_enabled) |
| 181 IPC_STRUCT_TRAITS_MEMBER(spellcheck_enabled) | 181 IPC_STRUCT_TRAITS_MEMBER(spellcheck_enabled) |
| 182 IPC_STRUCT_TRAITS_MEMBER(is_editable) | 182 IPC_STRUCT_TRAITS_MEMBER(is_editable) |
| 183 #if defined(OS_MACOSX) | 183 #if defined(OS_MACOSX) || defined(TOOLKIT_GTK) |
| 184 IPC_STRUCT_TRAITS_MEMBER(writing_direction_default) | 184 IPC_STRUCT_TRAITS_MEMBER(writing_direction_default) |
| 185 IPC_STRUCT_TRAITS_MEMBER(writing_direction_left_to_right) | 185 IPC_STRUCT_TRAITS_MEMBER(writing_direction_left_to_right) |
| 186 IPC_STRUCT_TRAITS_MEMBER(writing_direction_right_to_left) | 186 IPC_STRUCT_TRAITS_MEMBER(writing_direction_right_to_left) |
| 187 #endif // OS_MACOSX | 187 #endif // OS_MACOSX || defined(TOOLKIT_GTK) |
| 188 IPC_STRUCT_TRAITS_MEMBER(edit_flags) | 188 IPC_STRUCT_TRAITS_MEMBER(edit_flags) |
| 189 IPC_STRUCT_TRAITS_MEMBER(security_info) | 189 IPC_STRUCT_TRAITS_MEMBER(security_info) |
| 190 IPC_STRUCT_TRAITS_MEMBER(frame_charset) | 190 IPC_STRUCT_TRAITS_MEMBER(frame_charset) |
| 191 IPC_STRUCT_TRAITS_MEMBER(referrer_policy) | 191 IPC_STRUCT_TRAITS_MEMBER(referrer_policy) |
| 192 IPC_STRUCT_TRAITS_MEMBER(custom_context) | 192 IPC_STRUCT_TRAITS_MEMBER(custom_context) |
| 193 IPC_STRUCT_TRAITS_MEMBER(custom_items) | 193 IPC_STRUCT_TRAITS_MEMBER(custom_items) |
| 194 IPC_STRUCT_TRAITS_MEMBER(source_type) | 194 IPC_STRUCT_TRAITS_MEMBER(source_type) |
| 195 #if defined(OS_ANDROID) | 195 #if defined(OS_ANDROID) |
| 196 IPC_STRUCT_TRAITS_MEMBER(selection_start) | 196 IPC_STRUCT_TRAITS_MEMBER(selection_start) |
| 197 IPC_STRUCT_TRAITS_MEMBER(selection_end) | 197 IPC_STRUCT_TRAITS_MEMBER(selection_end) |
| (...skipping 2179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2377 // synchronously (see crbug.com/120597). This IPC message sends the character | 2377 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2378 // bounds after every composition change to always have correct bound info. | 2378 // bounds after every composition change to always have correct bound info. |
| 2379 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2379 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2380 gfx::Range /* composition range */, | 2380 gfx::Range /* composition range */, |
| 2381 std::vector<gfx::Rect> /* character bounds */) | 2381 std::vector<gfx::Rect> /* character bounds */) |
| 2382 #endif | 2382 #endif |
| 2383 | 2383 |
| 2384 // Adding a new message? Stick to the sort order above: first platform | 2384 // Adding a new message? Stick to the sort order above: first platform |
| 2385 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2385 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2386 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2386 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |