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

Side by Side Diff: chrome/browser/ui/ash/palette_delegate_chromeos.h

Issue 2642723007: chromeos: Removed enable magnifier from palette delegate. (Closed)
Patch Set: Trybot. Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | chrome/browser/ui/ash/palette_delegate_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
(...skipping 28 matching lines...) Expand all
39 ~PaletteDelegateChromeOS() override; 39 ~PaletteDelegateChromeOS() override;
40 40
41 private: 41 private:
42 PaletteDelegateChromeOS(); 42 PaletteDelegateChromeOS();
43 43
44 // ash::PaletteDelegate: 44 // ash::PaletteDelegate:
45 std::unique_ptr<EnableListenerSubscription> AddPaletteEnableListener( 45 std::unique_ptr<EnableListenerSubscription> AddPaletteEnableListener(
46 const EnableListener& on_state_changed) override; 46 const EnableListener& on_state_changed) override;
47 void CreateNote() override; 47 void CreateNote() override;
48 bool HasNoteApp() override; 48 bool HasNoteApp() override;
49 void SetPartialMagnifierState(bool enabled) override;
50 void SetStylusStateChangedCallback( 49 void SetStylusStateChangedCallback(
51 const OnStylusStateChangedCallback& on_stylus_state_changed) override; 50 const OnStylusStateChangedCallback& on_stylus_state_changed) override;
52 bool ShouldAutoOpenPalette() override; 51 bool ShouldAutoOpenPalette() override;
53 bool ShouldShowPalette() override; 52 bool ShouldShowPalette() override;
54 void TakeScreenshot() override; 53 void TakeScreenshot() override;
55 void TakePartialScreenshot(const base::Closure& done) override; 54 void TakePartialScreenshot(const base::Closure& done) override;
56 void CancelPartialScreenshot() override; 55 void CancelPartialScreenshot() override;
57 56
58 // ash::SessionStateObserver: 57 // ash::SessionStateObserver:
59 void ActiveUserChanged(const AccountId& account_id) override; 58 void ActiveUserChanged(const AccountId& account_id) override;
(...skipping 22 matching lines...) Expand all
82 content::NotificationRegistrar registrar_; 81 content::NotificationRegistrar registrar_;
83 82
84 base::WeakPtrFactory<PaletteDelegateChromeOS> weak_factory_; 83 base::WeakPtrFactory<PaletteDelegateChromeOS> weak_factory_;
85 84
86 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateChromeOS); 85 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateChromeOS);
87 }; 86 };
88 87
89 } // namespace chromeos 88 } // namespace chromeos
90 89
91 #endif // CHROME_BROWSER_UI_ASH_PALETTE_DELEGATE_CHROMEOS_H_ 90 #endif // CHROME_BROWSER_UI_ASH_PALETTE_DELEGATE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | chrome/browser/ui/ash/palette_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698