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

Unified Diff: chrome/browser/ui/views/ash/screenshot_taker.h

Issue 9874030: Revert http://codereview.chromium.org/9838043/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/ash/screenshot_taker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/ash/screenshot_taker.h
diff --git a/chrome/browser/ui/views/ash/screenshot_taker.h b/chrome/browser/ui/views/ash/screenshot_taker.h
index 1f3c643a34471d594232755bdcf267fafd6a8434..d3d2a688e80b2be3759561b53290c7c6837d5478 100644
--- a/chrome/browser/ui/views/ash/screenshot_taker.h
+++ b/chrome/browser/ui/views/ash/screenshot_taker.h
@@ -8,7 +8,6 @@
#include "ash/screenshot_delegate.h"
#include "base/basictypes.h"
-#include "base/callback.h"
#include "base/compiler_specific.h"
#include "ui/gfx/compositor/layer.h"
@@ -28,12 +27,11 @@ class ScreenshotTaker : public ash::ScreenshotDelegate {
private:
// Flashes the screen to provide visual feedback that a screenshot has
- // been taken. |task| runs after the visual feedback finishes.
- void DisplayVisualFeedback(const gfx::Rect& rect, const base::Closure& task);
+ // been taken.
+ void DisplayVisualFeedback(const gfx::Rect& rect);
- // Closes the visual feedback layer. |task| runs after the visual
- // feedback finishes.
- void CloseVisualFeedbackLayer(const base::Closure& task);
+ // Closes the visual feedback layer.
+ void CloseVisualFeedbackLayer();
scoped_ptr<ui::Layer> visual_feedback_layer_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/ash/screenshot_taker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698