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

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: Made sure to clear old control data 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
« no previous file with comments | « blimp/common/proto/control.proto ('k') | blimp/engine/browser/blimp_browser_main_parts.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Some example inputs:
17 // 1. google.com
18 // 2. www.wikipedia.org
19 // 3. dogs
20 optional string url = 1;
21 }
22
23 message NavigationStateChangeMessage {
24 // If the URL changed, this will include the new URL string.
25 optional string url = 1;
26
27 // If the favicon of the page changed, this should include the serialized
28 // bitmap of the favicon.
29 optional bytes favicon = 2;
30
31 // If the title changed, this will contain the new title string.
32 optional string title = 3;
33 }
34
35 message NavigationMessage {
36 enum Type {
37 // Server => Client types.
38 NAVIGATION_STATE_CHANGED = 1;
39
40 // Client => Server types.
41 LOAD_URL = 2;
42 GO_BACK = 3;
43 GO_FORWARD = 4;
44 RELOAD = 5;
45 }
46
47 optional Type type = 1;
48
49 optional NavigationStateChangeMessage navigation_state_change = 1000;
50 optional LoadUrlMessage load_url = 1001;
51 }
OLDNEW
« no previous file with comments | « blimp/common/proto/control.proto ('k') | blimp/engine/browser/blimp_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698