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

Unified Diff: ash/common/wm/maximize_mode/maximize_mode_screenshot_observer.h

Issue 2190773002: Fix Volume slider is captured in screenshot done in touchview mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: not using default parameter Created 4 years, 5 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
Index: ash/common/wm/maximize_mode/maximize_mode_screenshot_observer.h
diff --git a/ash/common/wm/maximize_mode/maximize_mode_screenshot_observer.h b/ash/common/wm/maximize_mode/maximize_mode_screenshot_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..2414b56c0cf8ac506806444751367dcf1b86e6f0
--- /dev/null
+++ b/ash/common/wm/maximize_mode/maximize_mode_screenshot_observer.h
@@ -0,0 +1,23 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_COMMON_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_SCREENSHOT_OBSERVER_H_
+#define ASH_COMMON_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_SCREENSHOT_OBSERVER_H_
+
+#include "ash/ash_export.h"
+
+namespace ash {
+
+class ASH_EXPORT MaximizeModeScreenshotObserver {
+ public:
+ virtual ~MaximizeModeScreenshotObserver() {}
+
+ // Notifies when screenshot is going to be taken by volume-down modifier +
+ // power button accelerator combinations.
Daniel Erat 2016/07/28 23:57:52 nit: delete "combinations"
Qiang(Joe) Xu 2016/07/29 04:30:31 Done.
+ virtual void OnWillTakeScreenshotInMaximizeMode() = 0;
+};
+
+} // namespace ash
+
+#endif // ASH_COMMON_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_SCREENSHOT_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698