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

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

Issue 1422363008: Add a basic UI to the Android Blimp client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unused icon Created 5 years, 1 month 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
(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 navigation messages.
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10
11 package blimp;
12
13 message LoadUrlMessage {
14 // The text to generate and create a URL from. This might be a URL or might
15 // not. It might be text that should be turned into a search URL.
16 optional string url = 1;
17 }
18
19 message NavigationStateChangeMessage {
20 // If the URL changed, this will include the new URL string.
21 optional string url = 1;
22
23 // If the favicon of the page changed, this should include the serialized
24 // bitmap of the favicon.
25 optional bytes favicon = 2;
26
27 // If the title changed, this will contain the new title string.
28 optional string title = 3;
29 }
30
31 message NavigationMessage {
32 enum Type {
33 // Server => Client types.
34 NAVIGATION_STATE_CHANGED = 1;
35
36 // Client => Server types.
37 LOAD_URL = 2;
38 GO_BACK = 3;
39 RELOAD = 4;
40 }
41
42 optional Type type = 1;
43
44 optional NavigationStateChangeMessage navigation_state_change = 1000;
45 optional LoadUrlMessage load_url = 1001;
46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698