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

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

Issue 9430041: Makes the visual feedback for taking screenshot. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 10 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/aura/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/aura/screenshot_taker.h
diff --git a/chrome/browser/ui/views/aura/screenshot_taker.h b/chrome/browser/ui/views/aura/screenshot_taker.h
index c6707e24a798f17f8bacd5fb313f016da54684b4..0e13950529523fb0f0ccd2855654dda19b75bc14 100644
--- a/chrome/browser/ui/views/aura/screenshot_taker.h
+++ b/chrome/browser/ui/views/aura/screenshot_taker.h
@@ -9,6 +9,7 @@
#include "ash/screenshot_delegate.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "ui/gfx/compositor/layer.h"
namespace aura {
class Window;
@@ -24,6 +25,15 @@ class ScreenshotTaker : public ash::ScreenshotDelegate {
aura::Window* window, const gfx::Rect& rect) OVERRIDE;
private:
+ // Flashes the screen to provide visual feedback that a screenshot has
+ // been taken.
+ void DisplayVisualFeedback(const gfx::Rect& rect);
+
+ // Closes the visual feedback layer.
+ void CloseVisualFeedbackLayer();
+
+ scoped_ptr<ui::Layer> visual_feedback_layer_;
+
DISALLOW_COPY_AND_ASSIGN(ScreenshotTaker);
};
« no previous file with comments | « no previous file | chrome/browser/ui/views/aura/screenshot_taker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698