OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "ash/common/test/test_palette_delegate.h" | 5 #include "ash/common/test/test_palette_delegate.h" |
6 | 6 |
7 namespace ash { | 7 namespace ash { |
8 | 8 |
9 TestPaletteDelegate::TestPaletteDelegate() {} | 9 TestPaletteDelegate::TestPaletteDelegate() {} |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 } | 30 } |
31 | 31 |
32 void TestPaletteDelegate::SetStylusStateChangedCallback( | 32 void TestPaletteDelegate::SetStylusStateChangedCallback( |
33 const PaletteDelegate::OnStylusStateChangedCallback& | 33 const PaletteDelegate::OnStylusStateChangedCallback& |
34 on_stylus_state_changed) {} | 34 on_stylus_state_changed) {} |
35 | 35 |
36 bool TestPaletteDelegate::ShouldAutoOpenPalette() { | 36 bool TestPaletteDelegate::ShouldAutoOpenPalette() { |
37 return should_auto_open_palette_; | 37 return should_auto_open_palette_; |
38 } | 38 } |
39 | 39 |
| 40 bool TestPaletteDelegate::ShouldShowPalette() { |
| 41 return should_show_palette_; |
| 42 } |
| 43 |
40 void TestPaletteDelegate::TakeScreenshot() { | 44 void TestPaletteDelegate::TakeScreenshot() { |
41 ++take_screenshot_count_; | 45 ++take_screenshot_count_; |
42 } | 46 } |
43 | 47 |
44 void TestPaletteDelegate::TakePartialScreenshot() { | 48 void TestPaletteDelegate::TakePartialScreenshot() { |
45 ++take_partial_screenshot_count_; | 49 ++take_partial_screenshot_count_; |
46 } | 50 } |
47 | 51 |
48 } // namespace ash | 52 } // namespace ash |
OLD | NEW |