OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |