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

Side by Side Diff: chrome/browser/android/vr_shell/textures/url_bar_texture.h

Issue 2968143003: Toolbar: Report offline state through icon and verbose text. (Closed)
Patch Set: Fix header date. 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_URL_BAR_TEXTURE_H_ 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_URL_BAR_TEXTURE_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_URL_BAR_TEXTURE_H_ 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_URL_BAR_TEXTURE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 gfx::SizeF size_; 75 gfx::SizeF size_;
76 bool back_hovered_ = false; 76 bool back_hovered_ = false;
77 bool back_pressed_ = false; 77 bool back_pressed_ = false;
78 bool can_go_back_ = false; 78 bool can_go_back_ = false;
79 79
80 ToolbarState state_; 80 ToolbarState state_;
81 81
82 GURL last_drawn_gurl_; 82 GURL last_drawn_gurl_;
83 bool has_back_button_ = true; 83 bool has_back_button_ = true;
84 bool has_security_chip_ = true;
85 security_state::SecurityLevel last_drawn_security_level_; 84 security_state::SecurityLevel last_drawn_security_level_;
86 base::Callback<void(UiUnsupportedMode)> failure_callback_; 85 base::Callback<void(UiUnsupportedMode)> failure_callback_;
87 gfx::RectF security_hit_region_ = gfx::RectF(0, 0, 0, 0); 86 gfx::RectF security_hit_region_ = gfx::RectF(0, 0, 0, 0);
88 gfx::RectF back_button_hit_region_ = gfx::RectF(0, 0, 0, 0); 87 gfx::RectF back_button_hit_region_ = gfx::RectF(0, 0, 0, 0);
89 88
90 DISALLOW_COPY_AND_ASSIGN(UrlBarTexture); 89 DISALLOW_COPY_AND_ASSIGN(UrlBarTexture);
91 }; 90 };
92 91
93 } // namespace vr_shell 92 } // namespace vr_shell
94 93
95 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_URL_BAR_TEXTURE_H_ 94 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_URL_BAR_TEXTURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698