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