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

Unified Diff: ui/aura/mus/window_tree_host_mus_delegate.h

Issue 2693823004: aura-mus: Implement DesktopWindowTreeHostMus::SetOpacity(). (Closed)
Patch Set: Removed the comments in WindowPortMus::SetOpacityFromServer Created 3 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 | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_host_mus_delegate.h
diff --git a/ui/aura/mus/window_tree_host_mus_delegate.h b/ui/aura/mus/window_tree_host_mus_delegate.h
index 08d8f58f387fd75a2acdadade23dbcd360150a94..b93c65980951e2b6b3572456c1db2067ab81d747 100644
--- a/ui/aura/mus/window_tree_host_mus_delegate.h
+++ b/ui/aura/mus/window_tree_host_mus_delegate.h
@@ -42,6 +42,10 @@ class AURA_EXPORT WindowTreeHostMusDelegate {
WindowTreeHostMus* window_tree_host,
const base::Optional<gfx::Rect>& mask_rect) = 0;
+ // Called when the opacity is changed client side.
+ virtual void OnWindowTreeHostSetOpacity(WindowTreeHostMus* window_tree_host,
+ float opacity) = 0;
+
// Called to clear the focus of the current window.
virtual void OnWindowTreeHostDeactivateWindow(
WindowTreeHostMus* window_tree_host) = 0;
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698