- add sources.
[platform/framework/web/crosswalk.git] / src / components / dom_distiller / core / proto / distilled_page.proto
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // Distilled page content.
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10
11 package dom_distiller;
12
13 message DistilledPageProto {
14   // The URLs used to create this page.
15   required string url = 1;
16
17   // A title for the distilled page.
18   optional string title = 2;
19
20   // The distilled HTML.
21   required string html = 3;
22
23   message Image {
24     // Handle to the image. This could be the URL where the image was found.
25     // The handle should be referenced verbatim in the HTML.
26     required string name = 1;
27
28     // The image data
29     required bytes data = 2;
30   }
31
32   // The images referenced in the HTML.
33   repeated Image image = 4;
34 }