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

Unified Diff: ash/palette_delegate.h

Issue 2824703006: Add MetalayerMode to the palette. (Closed)
Patch Set: Addressed comments Created 3 years, 8 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/palette_delegate.h
diff --git a/ash/palette_delegate.h b/ash/palette_delegate.h
index 942f09e7cc541a535702374c07a60e68506e86c4..5edf6965647c2e04175b5bf566a7d79e6b5e0646 100644
--- a/ash/palette_delegate.h
+++ b/ash/palette_delegate.h
@@ -54,6 +54,15 @@ class PaletteDelegate {
// Cancels any active partial screenshot session.
virtual void CancelPartialScreenshot() = 0;
+ // Returns true if the metalayer is available.
+ virtual bool HasMetalayer() = 0;
+
+ // Shows the metalayer.
+ virtual void ShowMetalayer(const base::Closure& done) = 0;
Luis Héctor Chávez 2017/04/20 16:03:26 maybe s/done/closed/ or s/done/interaction_done/ i
Vladislav Kaznacheev 2017/04/20 17:54:55 going with interaction_done. Added a comment.
+
+ // Hides the metalayer.
+ virtual void HideMetalayer() = 0;
+
private:
DISALLOW_ASSIGN(PaletteDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698