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

Unified Diff: ash/common/accelerators/ash_focus_manager_factory.h

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: 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
Index: ash/common/accelerators/ash_focus_manager_factory.h
diff --git a/ash/common/accelerators/ash_focus_manager_factory.h b/ash/common/accelerators/ash_focus_manager_factory.h
deleted file mode 100644
index 32d9e9a42c5c3e3c1ac4157d1151471b0e96acfb..0000000000000000000000000000000000000000
--- a/ash/common/accelerators/ash_focus_manager_factory.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_COMMON_ACCELERATORS_ASH_FOCUS_MANAGER_FACTORY_H_
-#define ASH_COMMON_ACCELERATORS_ASH_FOCUS_MANAGER_FACTORY_H_
-
-#include "base/macros.h"
-#include "ui/views/focus/focus_manager_delegate.h"
-#include "ui/views/focus/focus_manager_factory.h"
-
-namespace ash {
-
-// A factory class for creating a custom views::FocusManager object which
-// supports Ash shortcuts.
-class AshFocusManagerFactory : public views::FocusManagerFactory {
- public:
- AshFocusManagerFactory();
- ~AshFocusManagerFactory() override;
-
- protected:
- // views::FocusManagerFactory overrides:
- views::FocusManager* CreateFocusManager(views::Widget* widget,
- bool desktop_widget) override;
-
- private:
- class Delegate : public views::FocusManagerDelegate {
- public:
- // views::FocusManagerDelegate overrides:
- bool ProcessAccelerator(const ui::Accelerator& accelerator) override;
- };
-
- DISALLOW_COPY_AND_ASSIGN(AshFocusManagerFactory);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_ACCELERATORS_ASH_FOCUS_MANAGER_FACTORY_H_
« no previous file with comments | « ash/common/accelerators/accelerator_table_unittest.cc ('k') | ash/common/accelerators/ash_focus_manager_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698