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

Unified Diff: components/exo/shell_surface.h

Issue 2743053002: arc: Fix race condition in applying modal state. (Closed)
Patch Set: unit_test added + refactored apply logic Created 3 years, 9 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 | « no previous file | components/exo/shell_surface.cc » ('j') | components/exo/shell_surface.cc » ('J')
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 74ff30d1f6ff44122b53828e07ff33c83e6d8ddc..b090caeac5760846f4e05b45ee670b530969f0cd 100644
--- a/components/exo/shell_surface.h
+++ b/components/exo/shell_surface.h
@@ -307,6 +307,9 @@ class ShellSurface : public SurfaceDelegate,
// |pending_shadow_content_bounds_|.
void UpdateShadow();
+ // Applies |system_modal_| to |widget_|.
+ void UpdateSystemModal();
+
views::Widget* widget_ = nullptr;
Surface* surface_;
aura::Window* parent_;
@@ -347,6 +350,7 @@ class ShellSurface : public SurfaceDelegate,
int top_inset_height_ = 0;
int pending_top_inset_height_ = 0;
bool shadow_underlay_in_surface_ = true;
+ bool system_modal_ = false;
DISALLOW_COPY_AND_ASSIGN(ShellSurface);
};
« no previous file with comments | « no previous file | components/exo/shell_surface.cc » ('j') | components/exo/shell_surface.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698