| // 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 CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
| #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
| |
| #include "ash/shell_delegate.h" |
| #include "base/macros.h" |
| |
| class ChromeShellDelegate : public ash::ShellDelegate { |
| public: |
| ChromeShellDelegate(); |
| ~ChromeShellDelegate() override; |
| |
| // ash::ShellDelegate: |
| bool CanShowWindowForUser(const aura::Window* window) const override; |
| std::unique_ptr<ash::ScreenshotDelegate> CreateScreenshotDelegate() override; |
| ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; |
| void OpenKeyboardShortcutHelpPage() const override; |
| bool CanGoBack(gfx::NativeWindow window) const override; |
| |
| private: |
| DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
| }; |
| |
| #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |