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

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: 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
22 bool operator==(const ToolbarState& other) const;
23 bool operator!=(const ToolbarState& other) const;
24
25 GURL gurl;
26 security_state::SecurityLevel security_level;
27 const gfx::VectorIcon* vector_icon;
28 base::string16 secure_verbose_text;
29 bool should_display_url;
30 };
31
32 } // namespace vr_shell
33
34 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_TOOLBAR_STATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698