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

Side by Side Diff: ash/common/test/test_palette_delegate.cc

Issue 2258553004: Add pref to enable/disable palette tray. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Rebase Created 4 years, 3 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/common/test/test_palette_delegate.h ('k') | ash/shell/shell_delegate_impl.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 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
11 TestPaletteDelegate::~TestPaletteDelegate() {} 11 TestPaletteDelegate::~TestPaletteDelegate() {}
12 12
13 std::unique_ptr<PaletteDelegate::EnableListenerSubscription>
14 TestPaletteDelegate::AddPaletteEnableListener(
15 const EnableListener& on_state_changed) {
16 return nullptr;
17 }
18
13 void TestPaletteDelegate::CreateNote() { 19 void TestPaletteDelegate::CreateNote() {
14 ++create_note_count_; 20 ++create_note_count_;
15 } 21 }
16 22
17 bool TestPaletteDelegate::HasNoteApp() { 23 bool TestPaletteDelegate::HasNoteApp() {
18 ++has_note_app_count_; 24 ++has_note_app_count_;
19 return has_note_app_; 25 return has_note_app_;
20 } 26 }
21 27
22 void TestPaletteDelegate::SetPartialMagnifierState(bool enabled) { 28 void TestPaletteDelegate::SetPartialMagnifierState(bool enabled) {
(...skipping 10 matching lines...) Expand all
33 39
34 void TestPaletteDelegate::TakeScreenshot() { 40 void TestPaletteDelegate::TakeScreenshot() {
35 ++take_screenshot_count_; 41 ++take_screenshot_count_;
36 } 42 }
37 43
38 void TestPaletteDelegate::TakePartialScreenshot() { 44 void TestPaletteDelegate::TakePartialScreenshot() {
39 ++take_partial_screenshot_count_; 45 ++take_partial_screenshot_count_;
40 } 46 }
41 47
42 } // namespace ash 48 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/test/test_palette_delegate.h ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698