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 browser control messages. |
| 6 |
| 7 syntax = "proto2"; |
| 8 |
| 9 option optimize_for = LITE_RUNTIME; |
| 10 |
| 11 message LoadUrlMessage { |
| 12 optional string url = 1; |
| 13 } |
| 14 |
| 15 message ControlMessage { |
| 16 enum Type { |
| 17 // Client <=> Server types. |
| 18 CREATE_TAB = 1; |
| 19 CLOSE_TAB = 2; |
| 20 LOAD_URL = 3; |
| 21 |
| 22 // Server => Client types. |
| 23 // Client => Server types. |
| 24 } |
| 25 optional Type type = 1; |
| 26 |
| 27 optional LoadUrlMessage load_url = 1000; |
| 28 } |
OLD | NEW |