| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_ASH_PALETTE_DELEGATE_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_PALETTE_DELEGATE_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_PALETTE_DELEGATE_CHROMEOS_H_ | 6 #define CHROME_BROWSER_UI_ASH_PALETTE_DELEGATE_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/common/palette_delegate.h" | 10 #include "ash/common/palette_delegate.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/values.h" | 13 #include "base/values.h" |
| 14 | 14 |
| 15 namespace chromeos { | 15 namespace chromeos { |
| 16 | 16 |
| 17 // A class which allows the Ash palette to perform chrome actions. | 17 // A class which allows the Ash palette to perform chrome actions. |
| 18 class PaletteDelegateChromeOS : public ash::PaletteDelegate { | 18 class PaletteDelegateChromeOS : public ash::PaletteDelegate { |
| 19 public: | 19 public: |
| 20 PaletteDelegateChromeOS(); | 20 PaletteDelegateChromeOS(); |
| 21 ~PaletteDelegateChromeOS() override; | 21 ~PaletteDelegateChromeOS() override; |
| 22 | 22 |
| 23 private: | 23 private: |
| 24 // ash::PaletteDelegate: |
| 25 void CreateNote() override; |
| 26 bool HasNoteApp() override; |
| 27 |
| 24 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateChromeOS); | 28 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateChromeOS); |
| 25 }; | 29 }; |
| 26 | 30 |
| 27 } // namespace chromeos | 31 } // namespace chromeos |
| 28 | 32 |
| 29 #endif // CHROME_BROWSER_UI_ASH_PALETTE_DELEGATE_CHROMEOS_H_ | 33 #endif // CHROME_BROWSER_UI_ASH_PALETTE_DELEGATE_CHROMEOS_H_ |
| OLD | NEW |