| 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_UI_INTERFACE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_ |
| 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_ | 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_ |
| 7 | 7 |
| 8 class GURL; | 8 class GURL; |
| 9 | 9 |
| 10 namespace vr_shell { | 10 namespace vr_shell { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 virtual void SetWebVrMode(bool enabled) = 0; | 26 virtual void SetWebVrMode(bool enabled) = 0; |
| 27 virtual void SetURL(const GURL& url) = 0; | 27 virtual void SetURL(const GURL& url) = 0; |
| 28 virtual void SetFullscreen(bool enabled) = 0; | 28 virtual void SetFullscreen(bool enabled) = 0; |
| 29 virtual void SetSecurityLevel(int level) = 0; | 29 virtual void SetSecurityLevel(int level) = 0; |
| 30 virtual void SetWebVrSecureOrigin(bool secure) = 0; | 30 virtual void SetWebVrSecureOrigin(bool secure) = 0; |
| 31 virtual void SetLoading(bool loading) = 0; | 31 virtual void SetLoading(bool loading) = 0; |
| 32 virtual void SetLoadProgress(float progress) = 0; | 32 virtual void SetLoadProgress(float progress) = 0; |
| 33 virtual void SetHistoryButtonsEnabled(bool can_go_back, | 33 virtual void SetHistoryButtonsEnabled(bool can_go_back, |
| 34 bool can_go_forward) = 0; | 34 bool can_go_forward) = 0; |
| 35 virtual void SetVideoCapturingIndicator(bool enabled) = 0; |
| 36 virtual void SetScreenCapturingIndicator(bool enabled) = 0; |
| 37 virtual void SetAudioCapturingIndicator(bool enabled) = 0; |
| 35 | 38 |
| 36 // Tab handling. | 39 // Tab handling. |
| 37 virtual void InitTabList() {} | 40 virtual void InitTabList() {} |
| 38 virtual void AppendToTabList(bool incognito, | 41 virtual void AppendToTabList(bool incognito, |
| 39 int id, | 42 int id, |
| 40 const base::string16& title) {} | 43 const base::string16& title) {} |
| 41 virtual void FlushTabList() {} | 44 virtual void FlushTabList() {} |
| 42 virtual void UpdateTab(bool incognito, int id, const std::string& title) {} | 45 virtual void UpdateTab(bool incognito, int id, const std::string& title) {} |
| 43 virtual void RemoveTab(bool incognito, int id) {} | 46 virtual void RemoveTab(bool incognito, int id) {} |
| 44 }; | 47 }; |
| 45 | 48 |
| 46 } // namespace vr_shell | 49 } // namespace vr_shell |
| 47 | 50 |
| 48 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_ | 51 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_ |
| OLD | NEW |