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

Unified Diff: ash/shell.cc

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: Removed header include in shell.h that was causing gn check failure. Created 3 years, 6 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/shell.h ('k') | ash/shell_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index e7e58d454ad2dbda5ea3c06a0f7bb4fb81ef8b5b..8600cd4dd1bc1db9292e8505574c46fd1ada1644 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -554,6 +554,12 @@ void Shell::SetIsBrowserProcessWithMash() {
g_is_browser_process_with_mash = true;
}
+void Shell::OnAppListVisibilityChanged(bool visible,
+ aura::Window* root_window) {
+ for (auto& observer : shell_observers_)
+ observer.OnAppListVisibilityChanged(visible, root_window);
+}
+
////////////////////////////////////////////////////////////////////////////////
// Shell, private:
@@ -919,11 +925,9 @@ void Shell::Init(const ShellInitParams& init_params) {
if (!display_initialized)
display_manager_->InitDefaultDisplay();
- // TODO(sky): move this to chrome for mash. http://crbug.com/729824.
- if (ShouldEnableSimplifiedDisplayManagement())
+ if (config == Config::CLASSIC) {
display_manager_->RefreshFontParams();
- if (config == Config::CLASSIC) {
aura::Env::GetInstance()->set_context_factory(init_params.context_factory);
aura::Env::GetInstance()->set_context_factory_private(
init_params.context_factory_private);
« no previous file with comments | « ash/shell.h ('k') | ash/shell_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698