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

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

Issue 2824703006: Add MetalayerMode to the palette. (Closed)
Patch Set: Fixed copyright year Created 3 years, 8 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
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/test/test_palette_delegate.h" 5 #include "ash/test/test_palette_delegate.h"
6 6
7 namespace ash { 7 namespace ash {
8 8
9 TestPaletteDelegate::TestPaletteDelegate() {} 9 TestPaletteDelegate::TestPaletteDelegate() {}
10 10
(...skipping 26 matching lines...) Expand all
37 ++take_screenshot_count_; 37 ++take_screenshot_count_;
38 } 38 }
39 39
40 void TestPaletteDelegate::TakePartialScreenshot(const base::Closure& done) { 40 void TestPaletteDelegate::TakePartialScreenshot(const base::Closure& done) {
41 ++take_partial_screenshot_count_; 41 ++take_partial_screenshot_count_;
42 partial_screenshot_done_ = done; 42 partial_screenshot_done_ = done;
43 } 43 }
44 44
45 void TestPaletteDelegate::CancelPartialScreenshot() {} 45 void TestPaletteDelegate::CancelPartialScreenshot() {}
46 46
47 bool TestPaletteDelegate::IsMetalayerSupported() {
48 return false;
49 }
50
51 void TestPaletteDelegate::ShowMetalayer(const base::Closure& closed) {}
52
53 void TestPaletteDelegate::HideMetalayer() {}
54
47 } // namespace ash 55 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698