| 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; | |
| 11 | |
| 12 package userfeedback; | 10 package userfeedback; |
| 13 | 11 |
| 14 // Data captured from HTMLDocument DOM object. | 12 // Data captured from HTMLDocument DOM object. |
| 15 message HtmlDocument { | 13 message HtmlDocument { |
| 16 | 14 |
| 17 // The value of document.URL property. | 15 // The value of document.URL property. |
| 18 required string url = 1; | 16 required string url = 1; |
| 19 | 17 |
| 20 // The value of document.title property. | 18 // The value of document.title property. |
| 21 optional string title = 2; | 19 optional string title = 2; |
| (...skipping 70 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 | 90 // A path in the HTML document between two elements, which are in the |
| 93 // ancestor-descendant relationship. | 91 // ancestor-descendant relationship. |
| 94 message HtmlPath { | 92 message HtmlPath { |
| 95 | 93 |
| 96 // Ordered list of zero-based indices. | 94 // Ordered list of zero-based indices. |
| 97 // Empty path selects root element. | 95 // Empty path selects root element. |
| 98 // Non-negative index N selects (N+1)-th child. | 96 // Non-negative index N selects (N+1)-th child. |
| 99 // Index -1 selects root element from frame content document. | 97 // Index -1 selects root element from frame content document. |
| 100 repeated int32 index = 1; | 98 repeated int32 index = 1; |
| 101 }; | 99 }; |
| OLD | NEW |