| 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 20 matching lines...) Expand all Loading... |
| 31 void DidStartNavigation( | 31 void DidStartNavigation( |
| 32 content::NavigationHandle* navigation_handle) override; | 32 content::NavigationHandle* navigation_handle) override; |
| 33 void DidRedirectNavigation( | 33 void DidRedirectNavigation( |
| 34 content::NavigationHandle* navigation_handle) override; | 34 content::NavigationHandle* navigation_handle) override; |
| 35 void DidFinishNavigation( | 35 void DidFinishNavigation( |
| 36 content::NavigationHandle* navigation_handle) override; | 36 content::NavigationHandle* navigation_handle) override; |
| 37 void DidToggleFullscreenModeForTab( | 37 void DidToggleFullscreenModeForTab( |
| 38 bool entered_fullscreen, bool will_cause_resize) override; | 38 bool entered_fullscreen, bool will_cause_resize) override; |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 void SetSecurityLevel(); |
| 42 |
| 41 // This class does not own the UI interface. | 43 // This class does not own the UI interface. |
| 42 UiInterface* ui_interface_; | 44 UiInterface* ui_interface_; |
| 43 | 45 |
| 44 DISALLOW_COPY_AND_ASSIGN(VrWebContentsObserver); | 46 DISALLOW_COPY_AND_ASSIGN(VrWebContentsObserver); |
| 45 }; | 47 }; |
| 46 | 48 |
| 47 } // namespace vr_shell | 49 } // namespace vr_shell |
| 48 | 50 |
| 49 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_WEB_CONTENTS_OBSERVER_H_ | 51 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_WEB_CONTENTS_OBSERVER_H_ |
| OLD | NEW |