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

Unified Diff: ash/palette_delegate.h

Issue 2824703006: Add MetalayerMode to the palette. (Closed)
Patch Set: Fixed copyright year 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
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/palette_delegate.h
diff --git a/ash/palette_delegate.h b/ash/palette_delegate.h
index 942f09e7cc541a535702374c07a60e68506e86c4..8f370d6ba80fbaa097065a4113645937c82fd053 100644
--- a/ash/palette_delegate.h
+++ b/ash/palette_delegate.h
@@ -54,6 +54,17 @@ class PaletteDelegate {
// Cancels any active partial screenshot session.
virtual void CancelPartialScreenshot() = 0;
+ // Returns true if the metalayer is available.
+ virtual bool IsMetalayerSupported() = 0;
+
+ // Shows the metalayer.
+ // |closed| will be invoked when the metalayer is closed or
+ // if the metalayer could not be shown.
+ virtual void ShowMetalayer(const base::Closure& closed) = 0;
+
+ // Hides the metalayer.
+ virtual void HideMetalayer() = 0;
+
private:
DISALLOW_ASSIGN(PaletteDelegate);
};
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698