| 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/palette_delegate.h" | 10 #include "ash/palette_delegate.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 // ash::PaletteDelegate: | 38 // ash::PaletteDelegate: |
| 39 std::unique_ptr<EnableListenerSubscription> AddPaletteEnableListener( | 39 std::unique_ptr<EnableListenerSubscription> AddPaletteEnableListener( |
| 40 const EnableListener& on_state_changed) override; | 40 const EnableListener& on_state_changed) override; |
| 41 void CreateNote() override; | 41 void CreateNote() override; |
| 42 bool HasNoteApp() override; | 42 bool HasNoteApp() override; |
| 43 bool ShouldAutoOpenPalette() override; | 43 bool ShouldAutoOpenPalette() override; |
| 44 bool ShouldShowPalette() override; | 44 bool ShouldShowPalette() override; |
| 45 void TakeScreenshot() override; | 45 void TakeScreenshot() override; |
| 46 void TakePartialScreenshot(const base::Closure& done) override; | 46 void TakePartialScreenshot(const base::Closure& done) override; |
| 47 void CancelPartialScreenshot() override; | 47 void CancelPartialScreenshot() override; |
| 48 bool IsMetalayerSupported() override; |
| 49 void ShowMetalayer(const base::Closure& closed) override; |
| 50 void HideMetalayer() override; |
| 48 | 51 |
| 49 // user_manager::UserManager::UserSessionStateObserver: | 52 // user_manager::UserManager::UserSessionStateObserver: |
| 50 void ActiveUserChanged(const user_manager::User* active_user) override; | 53 void ActiveUserChanged(const user_manager::User* active_user) override; |
| 51 | 54 |
| 52 // content::NotificationObserver: | 55 // content::NotificationObserver: |
| 53 void Observe(int type, | 56 void Observe(int type, |
| 54 const content::NotificationSource& source, | 57 const content::NotificationSource& source, |
| 55 const content::NotificationDetails& details) override; | 58 const content::NotificationDetails& details) override; |
| 56 | 59 |
| 57 // Called when the palette enabled pref has changed. | 60 // Called when the palette enabled pref has changed. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 73 voice_interaction_screenshot_delegate_; | 76 voice_interaction_screenshot_delegate_; |
| 74 | 77 |
| 75 base::WeakPtrFactory<PaletteDelegateChromeOS> weak_factory_; | 78 base::WeakPtrFactory<PaletteDelegateChromeOS> weak_factory_; |
| 76 | 79 |
| 77 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateChromeOS); | 80 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateChromeOS); |
| 78 }; | 81 }; |
| 79 | 82 |
| 80 } // namespace chromeos | 83 } // namespace chromeos |
| 81 | 84 |
| 82 #endif // CHROME_BROWSER_UI_ASH_PALETTE_DELEGATE_CHROMEOS_H_ | 85 #endif // CHROME_BROWSER_UI_ASH_PALETTE_DELEGATE_CHROMEOS_H_ |
| OLD | NEW |