| 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 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 void SetWebVRSecureOrigin(bool secure); | 42 void SetWebVRSecureOrigin(bool secure); |
| 43 void SetLoading(bool loading); | 43 void SetLoading(bool loading); |
| 44 void SetLoadProgress(double progress); | 44 void SetLoadProgress(double progress); |
| 45 void InitTabList(); | 45 void InitTabList(); |
| 46 void AppendToTabList(bool incognito, int id, const base::string16& title); | 46 void AppendToTabList(bool incognito, int id, const base::string16& title); |
| 47 void FlushTabList(); | 47 void FlushTabList(); |
| 48 void UpdateTab(bool incognito, int id, const std::string& title); | 48 void UpdateTab(bool incognito, int id, const std::string& title); |
| 49 void RemoveTab(bool incognito, int id); | 49 void RemoveTab(bool incognito, int id); |
| 50 void SetURL(const GURL& url); | 50 void SetURL(const GURL& url); |
| 51 void HandleAppButtonGesturePerformed(Direction direction); | 51 void HandleAppButtonGesturePerformed(Direction direction); |
| 52 void HandleAppButtonClicked(); | |
| 53 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward); | 52 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward); |
| 54 | 53 |
| 55 private: | 54 private: |
| 56 Mode mode_; | 55 Mode mode_; |
| 57 bool fullscreen_ = false; | 56 bool fullscreen_ = false; |
| 58 | 57 |
| 59 DISALLOW_COPY_AND_ASSIGN(UiInterface); | 58 DISALLOW_COPY_AND_ASSIGN(UiInterface); |
| 60 }; | 59 }; |
| 61 | 60 |
| 62 } // namespace vr_shell | 61 } // namespace vr_shell |
| 63 | 62 |
| 64 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_ | 63 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_ |
| OLD | NEW |