| 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 // Messages containing DOM data captured from the browser. | 5 // Messages containing DOM data captured from the browser. |
| 6 // It includes the structure of the HTML document and Navigator data. | 6 // It includes the structure of the HTML document and Navigator data. |
| 7 | 7 |
| 8 syntax = "proto2"; | 8 syntax = "proto2"; |
| 9 | 9 |
| 10 option optimize_for = LITE_RUNTIME; | 10 option optimize_for = LITE_RUNTIME; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // A path in the HTML document between two elements, which are in the | 92 // A path in the HTML document between two elements, which are in the |
| 93 // ancestor-descendant relationship. | 93 // ancestor-descendant relationship. |
| 94 message HtmlPath { | 94 message HtmlPath { |
| 95 | 95 |
| 96 // Ordered list of zero-based indices. | 96 // Ordered list of zero-based indices. |
| 97 // Empty path selects root element. | 97 // Empty path selects root element. |
| 98 // Non-negative index N selects (N+1)-th child. | 98 // Non-negative index N selects (N+1)-th child. |
| 99 // Index -1 selects root element from frame content document. | 99 // Index -1 selects root element from frame content document. |
| 100 repeated int32 index = 1; | 100 repeated int32 index = 1; |
| 101 }; | 101 }; |
| OLD | NEW |