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

Unified Diff: chrome/browser/ui/views/accelerator_table.cc

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 years, 3 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
Index: chrome/browser/ui/views/accelerator_table.cc
diff --git a/chrome/browser/ui/views/accelerator_table.cc b/chrome/browser/ui/views/accelerator_table.cc
index 021a2730b6343ab7e3a3afba611c580497cc1fbb..89c82853a58dd651f72624b6dc6b8dd303b9576c 100644
--- a/chrome/browser/ui/views/accelerator_table.cc
+++ b/chrome/browser/ui/views/accelerator_table.cc
@@ -231,10 +231,10 @@ std::vector<AcceleratorMapping> GetAcceleratorList() {
}
bool GetAshAcceleratorForCommandId(int command_id,
- HostDesktopType host_desktop_type,
+ ui::HostDesktopType host_desktop_type,
ui::Accelerator* accelerator) {
#if defined(USE_ASH)
- if (host_desktop_type != chrome::HOST_DESKTOP_TYPE_ASH)
+ if (host_desktop_type != ui::HOST_DESKTOP_TYPE_ASH)
return false;
for (size_t i = 0; i < kChromeCmdId2AshActionIdLength; ++i) {
if (command_id == kChromeCmdId2AshActionId[i].chrome_cmd_id) {

Powered by Google App Engine
This is Rietveld 408576698