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

Side by Side Diff: chrome/browser/android/vr_shell/toolbar_state.h

Issue 2960903002: VR: Use ToolbarModel to drive VR URL bar state. (Closed)
Patch Set: Update toolbar build file to include vector icons for Android. Created 3 years, 5 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
(Empty)
1 // Copyright 2017 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 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_TOOLBAR_STATE_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_TOOLBAR_STATE_H_
7
8 #include "components/security_state/core/security_state.h"
9 #include "url/gurl.h"
10
11 namespace gfx {
12 struct VectorIcon;
13 }
14
15 namespace vr_shell {
16
17 // Passes information obtained from ToolbarModel to the VR UI framework.
18 struct ToolbarState {
19 public:
20 ToolbarState();
21 ToolbarState(const GURL& url,
22 security_state::SecurityLevel level,
23 const gfx::VectorIcon* icon,
24 base::string16 verbose_text,
25 bool display_url);
26
27 bool operator==(const ToolbarState& other) const;
28 bool operator!=(const ToolbarState& other) const;
29
30 GURL gurl;
31 security_state::SecurityLevel security_level;
32 const gfx::VectorIcon* vector_icon;
33 base::string16 secure_verbose_text;
34 bool should_display_url;
35 };
36
37 } // namespace vr_shell
38
39 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_TOOLBAR_STATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/toolbar_helper.cc ('k') | chrome/browser/android/vr_shell/toolbar_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698