| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // Changes Blink-style names to Chrome-style names. Currently transforms: | 5 // Changes Blink-style names to Chrome-style names. Currently transforms: |
| 6 // fields: | 6 // fields: |
| 7 // int m_operationCount => int operation_count_ | 7 // int m_operationCount => int operation_count_ |
| 8 // variables (including parameters): | 8 // variables (including parameters): |
| 9 // int mySuperVariable => int my_super_variable | 9 // int mySuperVariable => int my_super_variable |
| 10 // constants: | 10 // constants: |
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 663 "audioWorklet", | 663 "audioWorklet", |
| 664 "binaryType", | 664 "binaryType", |
| 665 "blob", | 665 "blob", |
| 666 "channelCountMode", | 666 "channelCountMode", |
| 667 "color", | 667 "color", |
| 668 "compositorElementId", | 668 "compositorElementId", |
| 669 "constructionStack", | 669 "constructionStack", |
| 670 "counterDirectives", | 670 "counterDirectives", |
| 671 "counterMaps" | 671 "counterMaps" |
| 672 "document", | 672 "document", |
| 673 "dragOperation", |
| 673 "element", | 674 "element", |
| 674 "emptyChromeClient", | 675 "emptyChromeClient", |
| 675 "emptyEditorClient", | 676 "emptyEditorClient", |
| 676 "emptySpellCheckerClient", | 677 "emptySpellCheckerClient", |
| 677 "entryType", | 678 "entryType", |
| 678 "error", | 679 "error", |
| 679 "eventTargetDataMap", | 680 "eventTargetDataMap", |
| 680 "fileUtilities", | 681 "fileUtilities", |
| 681 "font", | 682 "font", |
| 682 "frame", | 683 "frame", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 695 "interpolationTypes", | 696 "interpolationTypes", |
| 696 "intervalArena", | 697 "intervalArena", |
| 697 "layout", | 698 "layout", |
| 698 "layoutBlock", | 699 "layoutBlock", |
| 699 "layoutObject", | 700 "layoutObject", |
| 700 "layoutSize", | 701 "layoutSize", |
| 701 "lineCap", | 702 "lineCap", |
| 702 "lineEndings", | 703 "lineEndings", |
| 703 "lineJoin", | 704 "lineJoin", |
| 704 "listItems", | 705 "listItems", |
| 706 "locationInBackingMap", |
| 705 "matchedProperties", | 707 "matchedProperties", |
| 706 "midpointState", | 708 "midpointState", |
| 707 "modifiers", | 709 "modifiers", |
| 708 "mouseEvent", | 710 "mouseEvent", |
| 709 "name", | 711 "name", |
| 710 "navigationType", | 712 "navigationType", |
| 711 "node", | 713 "node", |
| 712 "notificationManager", | 714 "notificationManager", |
| 713 "originAccessMap", | 715 "originAccessMap", |
| 714 "outcome", | 716 "outcome", |
| (...skipping 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1941 for (const auto& r : replacements) { | 1943 for (const auto& r : replacements) { |
| 1942 std::string replacement_text = r.getReplacementText().str(); | 1944 std::string replacement_text = r.getReplacementText().str(); |
| 1943 std::replace(replacement_text.begin(), replacement_text.end(), '\n', '\0'); | 1945 std::replace(replacement_text.begin(), replacement_text.end(), '\n', '\0'); |
| 1944 llvm::outs() << "r:::" << r.getFilePath() << ":::" << r.getOffset() | 1946 llvm::outs() << "r:::" << r.getFilePath() << ":::" << r.getOffset() |
| 1945 << ":::" << r.getLength() << ":::" << replacement_text << "\n"; | 1947 << ":::" << r.getLength() << ":::" << replacement_text << "\n"; |
| 1946 } | 1948 } |
| 1947 llvm::outs() << "==== END EDITS ====\n"; | 1949 llvm::outs() << "==== END EDITS ====\n"; |
| 1948 | 1950 |
| 1949 return 0; | 1951 return 0; |
| 1950 } | 1952 } |
| OLD | NEW |