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

Unified Diff: services/ui/common/accelerator_util.cc

Issue 2754593003: Renames ui::mojom::Accelerator to ui::mojom::WmAccelerator (Closed)
Patch Set: Created 3 years, 9 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 | « services/ui/common/accelerator_util.h ('k') | services/ui/public/interfaces/window_manager.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/common/accelerator_util.cc
diff --git a/services/ui/common/accelerator_util.cc b/services/ui/common/accelerator_util.cc
index 11dca3f22cc281f795010a734b6899bab1eb7fd7..1c8c2efb908cd4dffe8ef8e86e8b8b037a557a0a 100644
--- a/services/ui/common/accelerator_util.cc
+++ b/services/ui/common/accelerator_util.cc
@@ -24,18 +24,18 @@ mojom::EventMatcherPtr CreateKeyMatcher(ui::mojom::KeyboardCode code,
return matcher;
}
-std::vector<ui::mojom::AcceleratorPtr> CreateAcceleratorVector(
+std::vector<ui::mojom::WmAcceleratorPtr> CreateAcceleratorVector(
uint32_t id,
ui::mojom::EventMatcherPtr event_matcher) {
- std::vector<ui::mojom::AcceleratorPtr> accelerators;
+ std::vector<ui::mojom::WmAcceleratorPtr> accelerators;
accelerators.push_back(CreateAccelerator(id, std::move(event_matcher)));
return accelerators;
}
-ui::mojom::AcceleratorPtr CreateAccelerator(
+ui::mojom::WmAcceleratorPtr CreateAccelerator(
uint32_t id,
ui::mojom::EventMatcherPtr event_matcher) {
- ui::mojom::AcceleratorPtr accelerator_ptr = ui::mojom::Accelerator::New();
+ ui::mojom::WmAcceleratorPtr accelerator_ptr = ui::mojom::WmAccelerator::New();
accelerator_ptr->id = id;
accelerator_ptr->event_matcher = std::move(event_matcher);
return accelerator_ptr;
« no previous file with comments | « services/ui/common/accelerator_util.h ('k') | services/ui/public/interfaces/window_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698