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

Side by Side Diff: chrome/browser/android/vr_shell/vr_web_contents_observer.h

Issue 2562733002: Implement our own GLThread for VR Shell. (Closed)
Patch Set: sigh Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_VR_WEB_CONTENTS_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_WEB_CONTENTS_OBSERVER_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_WEB_CONTENTS_OBSERVER_H_ 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_WEB_CONTENTS_OBSERVER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/public/browser/web_contents_observer.h" 9 #include "content/public/browser/web_contents_observer.h"
10 10
(...skipping 24 matching lines...) Expand all
35 content::NavigationHandle* navigation_handle) override; 35 content::NavigationHandle* navigation_handle) override;
36 void DidRedirectNavigation( 36 void DidRedirectNavigation(
37 content::NavigationHandle* navigation_handle) override; 37 content::NavigationHandle* navigation_handle) override;
38 void DidFinishNavigation( 38 void DidFinishNavigation(
39 content::NavigationHandle* navigation_handle) override; 39 content::NavigationHandle* navigation_handle) override;
40 void DidToggleFullscreenModeForTab( 40 void DidToggleFullscreenModeForTab(
41 bool entered_fullscreen, bool will_cause_resize) override; 41 bool entered_fullscreen, bool will_cause_resize) override;
42 void DidChangeVisibleSecurityState() override; 42 void DidChangeVisibleSecurityState() override;
43 void WebContentsDestroyed() override; 43 void WebContentsDestroyed() override;
44 void WasHidden() override; 44 void WasHidden() override;
45 void MainFrameWasResized(bool width_changed) override;
45 void RenderViewHostChanged(content::RenderViewHost* old_host, 46 void RenderViewHostChanged(content::RenderViewHost* old_host,
46 content::RenderViewHost* new_host) override; 47 content::RenderViewHost* new_host) override;
47 48
48 void SetSecurityLevel(); 49 void SetSecurityLevel();
49 50
50 // This class does not own the UI interface. 51 // This class does not own the UI interface.
51 UiInterface* ui_interface_; 52 UiInterface* ui_interface_;
52 VrShell* vr_shell_; 53 VrShell* vr_shell_;
53 54
54 DISALLOW_COPY_AND_ASSIGN(VrWebContentsObserver); 55 DISALLOW_COPY_AND_ASSIGN(VrWebContentsObserver);
55 }; 56 };
56 57
57 } // namespace vr_shell 58 } // namespace vr_shell
58 59
59 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_WEB_CONTENTS_OBSERVER_H_ 60 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_WEB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_gl.cc ('k') | chrome/browser/android/vr_shell/vr_web_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698