1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ash / focus / ash_focus_manager_factory.h [blame]
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_FOCUS_ASH_FOCUS_MANAGER_FACTORY_H_
#define ASH_FOCUS_ASH_FOCUS_MANAGER_FACTORY_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(const AshFocusManagerFactory&) = delete;
AshFocusManagerFactory& operator=(const AshFocusManagerFactory&) = delete;
~AshFocusManagerFactory() override;
protected:
// views::FocusManagerFactory overrides:
std::unique_ptr<views::FocusManager> CreateFocusManager(
views::Widget* widget) override;
};
} // namespace ash
#endif // ASH_FOCUS_ASH_FOCUS_MANAGER_FACTORY_H_