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

Side by Side Diff: chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.h

Issue 2428383006: Decouple VR Shell DPR and CSS size from Physical Displays. (Closed)
Patch Set: Address bshe comments + minor fix Created 4 years 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_UI_WEBUI_VR_SHELL_VR_SHELL_UI_MESSAGE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_VR_SHELL_VR_SHELL_UI_MESSAGE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_VR_SHELL_VR_SHELL_UI_MESSAGE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_VR_SHELL_VR_SHELL_UI_MESSAGE_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/android/vr_shell/ui_interface.h" 10 #include "chrome/browser/android/vr_shell/ui_interface.h"
(...skipping 16 matching lines...) Expand all
27 void SendCommandToUi(const base::Value& value) override; 27 void SendCommandToUi(const base::Value& value) override;
28 28
29 private: 29 private:
30 // content::WebUIMessageHandler: 30 // content::WebUIMessageHandler:
31 void RegisterMessages() override; 31 void RegisterMessages() override;
32 void OnJavascriptAllowed() override; 32 void OnJavascriptAllowed() override;
33 33
34 void HandleDomLoaded(const base::ListValue* args); 34 void HandleDomLoaded(const base::ListValue* args);
35 void HandleUpdateScene(const base::ListValue* args); 35 void HandleUpdateScene(const base::ListValue* args);
36 void HandleDoAction(const base::ListValue* args); 36 void HandleDoAction(const base::ListValue* args);
37 void HandleSetUiCssSize(const base::ListValue* args);
37 38
38 base::WeakPtr<vr_shell::VrShell> vr_shell_; 39 base::WeakPtr<vr_shell::VrShell> vr_shell_;
39 40
40 DISALLOW_COPY_AND_ASSIGN(VrShellUIMessageHandler); 41 DISALLOW_COPY_AND_ASSIGN(VrShellUIMessageHandler);
41 }; 42 };
42 43
43 #endif // CHROME_BROWSER_UI_WEBUI_VR_SHELL_VR_SHELL_UI_MESSAGE_HANDLER_H_ 44 #endif // CHROME_BROWSER_UI_WEBUI_VR_SHELL_VR_SHELL_UI_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/vr_shell/vr_shell_ui_api.js ('k') | chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698