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

Unified Diff: chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.cc

Issue 2705293002: Chrome VR clang-format cleanup (Closed)
Patch Set: Rebase to ToT. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/vr_shell/PRESUBMIT.py ('k') | chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.cc
diff --git a/chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.cc b/chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.cc
index f8314db3bbd6a740418a8342c0a6a4ccbc447909..22308d7a41f3f5787210650bd6a068caaf544031 100644
--- a/chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.cc
+++ b/chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.cc
@@ -30,8 +30,9 @@ void VrShellUIMessageHandler::RegisterMessages() {
"domLoaded", base::Bind(&VrShellUIMessageHandler::HandleDomLoaded,
base::Unretained(this)));
web_ui()->RegisterMessageCallback(
- "updateScene", base::Bind(&VrShellUIMessageHandler::HandleUpdateScene,
- base::Unretained(this)));
+ "updateScene",
+ base::Bind(&VrShellUIMessageHandler::HandleUpdateScene,
+ base::Unretained(this)));
web_ui()->RegisterMessageCallback(
"doAction", base::Bind(&VrShellUIMessageHandler::HandleDoAction,
base::Unretained(this)));
@@ -71,7 +72,7 @@ void VrShellUIMessageHandler::HandleDoAction(const base::ListValue* args) {
CHECK(args->GetInteger(0, &action));
args->GetDictionary(1, &arguments);
if (vr_shell_) {
- vr_shell_->DoUiAction((vr_shell::UiAction) action, arguments);
+ vr_shell_->DoUiAction((vr_shell::UiAction)action, arguments);
}
}
@@ -97,7 +98,7 @@ void VrShellUIMessageHandler::SetSize(const base::ListValue* args,
CHECK(args->GetDouble(2, &dpr));
if (for_ui) {
vr_shell_->SetUiCssSize(width, height, dpr);
- } else {
+ } else {
vr_shell_->SetContentCssSize(width, height, dpr);
}
}
« no previous file with comments | « chrome/browser/ui/webui/vr_shell/PRESUBMIT.py ('k') | chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698