| Index: chrome/browser/android/vr_shell/ui_elements/transient_url_bar.h
|
| diff --git a/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.h b/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.h
|
| index da311bfb81a5e0225173af3a23bd50c91277e36d..b28d166221e17e4a4cee41fbdc77e745aabb1450 100644
|
| --- a/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.h
|
| +++ b/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/macros.h"
|
| #include "base/time/time.h"
|
| #include "chrome/browser/android/vr_shell/ui_elements/textured_element.h"
|
| +#include "chrome/browser/android/vr_shell/ui_elements/transience_manager.h"
|
| #include "chrome/browser/android/vr_shell/ui_unsupported_mode.h"
|
| #include "components/security_state/core/security_state.h"
|
| #include "url/gurl.h"
|
| @@ -26,15 +27,19 @@ class TransientUrlBar : public TexturedElement {
|
| public:
|
| TransientUrlBar(
|
| int preferred_width,
|
| + const base::TimeDelta& timeout,
|
| const base::Callback<void(UiUnsupportedMode)>& failure_callback);
|
| ~TransientUrlBar() override;
|
|
|
| + void SetEnabled(bool enabled) override;
|
| +
|
| void SetToolbarState(const ToolbarState& state);
|
|
|
| private:
|
| UiTexture* GetTexture() const override;
|
|
|
| std::unique_ptr<UrlBarTexture> texture_;
|
| + TransienceManager transience_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TransientUrlBar);
|
| };
|
|
|