OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 // | |
5 // Message definitions for client-originating browser control messages. | |
6 // | |
7 // Current definitions are just placeholders and are NOT final. | |
8 // Feel free to modify this interface as necessary during feature work. | |
9 | |
10 syntax = "proto2"; | |
11 | |
12 option optimize_for = LITE_RUNTIME; | |
13 | |
14 message NavigateArgs { | |
15 optional string url = 1; | |
16 } | |
17 | |
18 message ClientControlMessage { | |
19 enum Type { | |
20 NAVIGATE = 1; | |
21 STOP = 2; | |
22 RELOAD = 3; | |
23 BACK = 4; | |
24 FORWARD = 5; | |
25 } | |
26 optional Type type = 1; | |
27 | |
28 optional NavigateArgs navigate = 1000; | |
29 } | |
OLD | NEW |