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

Unified Diff: ash/accelerators/accelerator_filter_unittest.cc

Issue 10827193: Brushes up the code of screenshot filename. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/screenshot_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_filter_unittest.cc
diff --git a/ash/accelerators/accelerator_filter_unittest.cc b/ash/accelerators/accelerator_filter_unittest.cc
index af376b770945ed1ef741e5130719bb231c4c0045..a918c5c7477ea6becbf33dee57597cf497c2f4a4 100644
--- a/ash/accelerators/accelerator_filter_unittest.cc
+++ b/ash/accelerators/accelerator_filter_unittest.cc
@@ -30,9 +30,8 @@ class DummyScreenshotDelegate : public ScreenshotDelegate {
virtual ~DummyScreenshotDelegate() {}
// Overridden from ScreenshotDelegate:
- virtual void HandleTakeScreenshot(aura::Window* window) OVERRIDE {
- if (window != NULL)
- ++handle_take_screenshot_count_;
+ virtual void HandleTakeScreenshotForAllRootWindows() OVERRIDE {
+ ++handle_take_screenshot_count_;
}
virtual void HandleTakePartialScreenshot(
« no previous file with comments | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/screenshot_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698