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

Unified Diff: components/exo/shell_surface.h

Issue 2887103002: Revert of Refactor backdrop (Closed)
Patch Set: Created 3 years, 7 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 | « components/exo/BUILD.gn ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface.h
diff --git a/components/exo/shell_surface.h b/components/exo/shell_surface.h
index 132508ed4802cba49a756b7b3d89d1d3803c770c..7443e48dc2d7696b23b2286d1a0335ac14381626 100644
--- a/components/exo/shell_surface.h
+++ b/components/exo/shell_surface.h
@@ -49,6 +49,7 @@
public ash::wm::WindowStateObserver,
public aura::WindowObserver,
public WMHelper::ActivationObserver,
+ public WMHelper::AccessibilityObserver,
public WMHelper::DisplayConfigurationObserver {
public:
enum class BoundsMode { SHELL, CLIENT, FIXED };
@@ -261,6 +262,9 @@
void OnWindowActivated(
aura::Window* gained_active,
aura::Window* lost_active) override;
+
+ // Overridden from WMHelper::AccessibilityObserver:
+ void OnAccessibilityModeChanged() override;
// Overridden from WMHelper::DisplayConfigurationObserver:
void OnDisplayConfigurationChanged() override;
@@ -363,6 +367,7 @@
int pending_resize_component_ = HTCAPTION;
std::unique_ptr<aura::Window> shadow_overlay_;
std::unique_ptr<aura::Window> shadow_underlay_;
+ std::unique_ptr<ui::EventHandler> shadow_underlay_event_handler_;
gfx::Rect shadow_content_bounds_;
float shadow_background_opacity_ = 1.0;
std::deque<Config> pending_configs_;
« no previous file with comments | « components/exo/BUILD.gn ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698