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

Side by Side Diff: ui/accessibility/ax_enums.idl

Issue 273323002: Convert snakecase enum names to camelcase when stringified. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback Created 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h 5 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h
6 // until the Chromium and Blink trees are merged. 6 // until the Chromium and Blink trees are merged.
7 namespace ui { 7 [camel_case_enum_to_string=true] namespace ui {
8 enum AXEvent { 8 enum AXEvent {
9 activedescendantchanged, 9 activedescendantchanged,
10 alert, 10 alert,
11 aria_attribute_changed, 11 aria_attribute_changed,
12 autocorrection_occured, 12 autocorrection_occured,
13 blur, 13 blur,
14 checked_state_changed, 14 checked_state_changed,
15 children_changed, 15 children_changed,
16 focus, 16 focus,
17 hide, 17 hide,
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 ax_attr_word_ends 342 ax_attr_word_ends
343 }; 343 };
344 344
345 [cpp_omit_enum_type] enum AXTextDirection { 345 [cpp_omit_enum_type] enum AXTextDirection {
346 ax_text_direction_lr, 346 ax_text_direction_lr,
347 ax_text_direction_rl, 347 ax_text_direction_rl,
348 ax_text_direction_tb, 348 ax_text_direction_tb,
349 ax_text_direction_bt 349 ax_text_direction_bt
350 }; 350 };
351 }; 351 };
OLDNEW
« tools/json_schema_compiler/cc_generator.py ('K') | « tools/json_schema_compiler/idl_schema.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698