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

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

Issue 1469503002: Add UNKNOWN values to blimp proto enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master Created 5 years 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
« no previous file with comments | « blimp/common/proto/input.proto ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 browser navigation messages. 5 // Message definitions for browser navigation messages.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
(...skipping 16 matching lines...) Expand all
27 // If the favicon of the page changed, this should include the serialized 27 // If the favicon of the page changed, this should include the serialized
28 // bitmap of the favicon. 28 // bitmap of the favicon.
29 optional bytes favicon = 2; 29 optional bytes favicon = 2;
30 30
31 // If the title changed, this will contain the new title string. 31 // If the title changed, this will contain the new title string.
32 optional string title = 3; 32 optional string title = 3;
33 } 33 }
34 34
35 message NavigationMessage { 35 message NavigationMessage {
36 enum Type { 36 enum Type {
37 UNKNOWN = 0;
38
37 // Server => Client types. 39 // Server => Client types.
38 NAVIGATION_STATE_CHANGED = 1; 40 NAVIGATION_STATE_CHANGED = 1;
39 41
40 // Client => Server types. 42 // Client => Server types.
41 LOAD_URL = 2; 43 LOAD_URL = 2;
42 GO_BACK = 3; 44 GO_BACK = 3;
43 GO_FORWARD = 4; 45 GO_FORWARD = 4;
44 RELOAD = 5; 46 RELOAD = 5;
45 } 47 }
46 48
47 optional Type type = 1; 49 optional Type type = 1;
48 50
49 optional NavigationStateChangeMessage navigation_state_change = 1000; 51 optional NavigationStateChangeMessage navigation_state_change = 1000;
50 optional LoadUrlMessage load_url = 1001; 52 optional LoadUrlMessage load_url = 1001;
51 } 53 }
OLDNEW
« no previous file with comments | « blimp/common/proto/input.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698