Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: blimp/common/proto/control.proto

Issue 1403083002: [Blimp] Adds Blimp EngineSession and ClientSession skeleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 // Message definitions for client-originating browser control messages. 5 // Message definitions for client-originating browser control messages.
Kevin M 2015/10/15 22:01:56 Not client-originating anymore
haibinlu 2015/10/15 22:12:32 Done.
6 // 6 //
7 // Current definitions are just placeholders and are NOT final. 7 // Current definitions are just placeholders and are NOT final.
Kevin M 2015/10/15 22:01:56 Remove these lines
haibinlu 2015/10/15 22:12:32 Done.
8 // Feel free to modify this interface as necessary during feature work. 8 // Feel free to modify this interface as necessary during feature work.
9 9
10 syntax = "proto2"; 10 syntax = "proto2";
11 11
12 option optimize_for = LITE_RUNTIME; 12 option optimize_for = LITE_RUNTIME;
13 13
14 message NavigateArgs { 14 message LoadUrlMessage {
15 optional string url = 1; 15 optional string url = 1;
16 } 16 }
17 17
18 message ClientControlMessage { 18 message ControlMessage {
19 enum Type { 19 enum Type {
20 NAVIGATE = 1; 20 // Client <=> Server types.
21 STOP = 2; 21 CREATE_TAB = 1;
22 RELOAD = 3; 22 CLOSE_TAB = 2;
23 BACK = 4; 23 LOAD_URL = 3;
24 FORWARD = 5; 24
25 // Server => Client types.
26 // Client => Server types.
25 } 27 }
26 optional Type type = 1; 28 optional Type type = 1;
27 29
28 optional NavigateArgs navigate = 1000; 30 // When the type is LOAD_URL.
Kevin M 2015/10/15 22:01:56 Not necessary; naming convention covers us there.
haibinlu 2015/10/15 22:12:32 Done.
31 optional LoadUrlMessage load_url = 1000;
29 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698