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

Side by Side Diff: ash/screenshot_delegate.h

Issue 706013004: Move non-browser specific ScreenshotTaker code to ui/snapshot. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restrict to use_aura==1 and fix gn build Created 6 years, 1 month 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 | « no previous file | chrome/browser/DEPS » ('j') | chrome/browser/ui/ash/chrome_screenshot_taker.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_SCREENSHOT_DELEGATE_H_ 5 #ifndef ASH_SCREENSHOT_DELEGATE_H_
6 #define ASH_SCREENSHOT_DELEGATE_H_ 6 #define ASH_SCREENSHOT_DELEGATE_H_
7 7
8 namespace aura { 8 namespace aura {
9 class Window; 9 class Window;
10 } // namespace aura 10 } // namespace aura
(...skipping 14 matching lines...) Expand all
25 virtual void HandleTakeScreenshotForAllRootWindows() = 0; 25 virtual void HandleTakeScreenshotForAllRootWindows() = 0;
26 26
27 // The actual task of taking a partial screenshot for the given 27 // The actual task of taking a partial screenshot for the given
28 // window. 28 // window.
29 virtual void HandleTakePartialScreenshot( 29 virtual void HandleTakePartialScreenshot(
30 aura::Window* window, const gfx::Rect& rect) = 0; 30 aura::Window* window, const gfx::Rect& rect) = 0;
31 31
32 // Returns true if the system is ready to take screenshot. 32 // Returns true if the system is ready to take screenshot.
33 virtual bool CanTakeScreenshot() = 0; 33 virtual bool CanTakeScreenshot() = 0;
34 }; 34 };
35 } // namespace ash 35
36 } // namespace
oshima 2014/11/12 11:32:14 namespace ash
flackr 2014/11/18 16:46:30 Done.
36 37
37 #endif // ASH_SCREENSHOT_DELEGATE_H_ 38 #endif // ASH_SCREENSHOT_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/DEPS » ('j') | chrome/browser/ui/ash/chrome_screenshot_taker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698