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

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

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 9 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/common/test/test_session_state_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ash/common/test/test_palette_delegate.h"
6
7 namespace ash {
8
9 TestPaletteDelegate::TestPaletteDelegate() {}
10
11 TestPaletteDelegate::~TestPaletteDelegate() {}
12
13 std::unique_ptr<PaletteDelegate::EnableListenerSubscription>
14 TestPaletteDelegate::AddPaletteEnableListener(
15 const EnableListener& on_state_changed) {
16 return nullptr;
17 }
18
19 void TestPaletteDelegate::CreateNote() {
20 ++create_note_count_;
21 }
22
23 bool TestPaletteDelegate::HasNoteApp() {
24 ++has_note_app_count_;
25 return has_note_app_;
26 }
27
28 bool TestPaletteDelegate::ShouldAutoOpenPalette() {
29 return should_auto_open_palette_;
30 }
31
32 bool TestPaletteDelegate::ShouldShowPalette() {
33 return should_show_palette_;
34 }
35
36 void TestPaletteDelegate::TakeScreenshot() {
37 ++take_screenshot_count_;
38 }
39
40 void TestPaletteDelegate::TakePartialScreenshot(const base::Closure& done) {
41 ++take_partial_screenshot_count_;
42 partial_screenshot_done_ = done;
43 }
44
45 void TestPaletteDelegate::CancelPartialScreenshot() {}
46
47 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/test/test_palette_delegate.h ('k') | ash/common/test/test_session_state_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698