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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/url_bar.h

Issue 2914543002: [vr] Bail on unhandled code points. (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/vr_shell/ui_elements/url_bar.h
diff --git a/chrome/browser/android/vr_shell/ui_elements/url_bar.h b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
index b37b6b86ee8a577f406f864bc0f93e27c43f85ad..07552fc3bff9f83afb87e914c5e5a498de4c7936 100644
--- a/chrome/browser/android/vr_shell/ui_elements/url_bar.h
+++ b/chrome/browser/android/vr_shell/ui_elements/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_unsupported_mode.h"
#include "components/security_state/core/security_state.h"
#include "url/gurl.h"
@@ -20,7 +21,8 @@ class UrlBarTexture;
class UrlBar : public TexturedElement {
public:
- explicit UrlBar(int preferred_width);
+ UrlBar(int preferred_width,
+ const base::Callback<void(UiUnsupportedMode)>& failure_callback);
~UrlBar() override;
void OnHoverEnter(const gfx::PointF& position) override;

Powered by Google App Engine
This is Rietveld 408576698