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

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

Issue 2833773005: Pause drawing webvr when the App button is pressed (Closed)
Patch Set: make UiBrowserInterface a raw ptr Created 3 years, 7 months 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_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
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_
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/BUILD.gn ('k') | chrome/browser/android/vr_shell/ui_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698