| OLD | NEW |
| 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 21 matching lines...) Expand all Loading... |
| 32 void DidStartLoading() override; | 32 void DidStartLoading() override; |
| 33 void DidStopLoading() override; | 33 void DidStopLoading() override; |
| 34 void DidStartNavigation( | 34 void DidStartNavigation( |
| 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 SecurityStyleChanged( | 42 void DidChangeVisibleSecurityState() override; |
| 43 blink::WebSecurityStyle security_style, | |
| 44 const content::SecurityStyleExplanations& explanations) override; | |
| 45 void WebContentsDestroyed() override; | 43 void WebContentsDestroyed() override; |
| 46 void WasHidden() override; | 44 void WasHidden() override; |
| 47 void RenderViewHostChanged(content::RenderViewHost* old_host, | 45 void RenderViewHostChanged(content::RenderViewHost* old_host, |
| 48 content::RenderViewHost* new_host) override; | 46 content::RenderViewHost* new_host) override; |
| 49 | 47 |
| 50 void SetSecurityLevel(); | 48 void SetSecurityLevel(); |
| 51 | 49 |
| 52 // This class does not own the UI interface. | 50 // This class does not own the UI interface. |
| 53 UiInterface* ui_interface_; | 51 UiInterface* ui_interface_; |
| 54 VrShell* vr_shell_; | 52 VrShell* vr_shell_; |
| 55 | 53 |
| 56 DISALLOW_COPY_AND_ASSIGN(VrWebContentsObserver); | 54 DISALLOW_COPY_AND_ASSIGN(VrWebContentsObserver); |
| 57 }; | 55 }; |
| 58 | 56 |
| 59 } // namespace vr_shell | 57 } // namespace vr_shell |
| 60 | 58 |
| 61 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_WEB_CONTENTS_OBSERVER_H_ | 59 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_WEB_CONTENTS_OBSERVER_H_ |
| OLD | NEW |