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

Side by Side Diff: chrome/browser/android/vr_shell/ui_elements/url_bar.cc

Issue 2866853002: VR: Wire VrShell UI-related state to the scene manager. (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 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 #include "chrome/browser/android/vr_shell/ui_elements/url_bar.h" 5 #include "chrome/browser/android/vr_shell/ui_elements/url_bar.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "chrome/browser/android/vr_shell/textures/url_bar_texture.h" 8 #include "chrome/browser/android/vr_shell/textures/url_bar_texture.h"
9 9
10 namespace vr_shell { 10 namespace vr_shell {
(...skipping 11 matching lines...) Expand all
22 22
23 void UrlBar::OnHoverLeave() { 23 void UrlBar::OnHoverLeave() {
24 texture_->SetHover(false); 24 texture_->SetHover(false);
25 Update(); 25 Update();
26 } 26 }
27 27
28 UiTexture* UrlBar::GetTexture() const { 28 UiTexture* UrlBar::GetTexture() const {
29 return texture_.get(); 29 return texture_.get();
30 } 30 }
31 31
32 void UrlBar::SetGURL(const GURL& gurl) { 32 void UrlBar::SetURL(const GURL& gurl) {
33 texture_->SetGURL(gurl); 33 texture_->SetURL(gurl);
34 } 34 }
35 35
36 } // namespace vr_shell 36 } // namespace vr_shell
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698