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

Unified Diff: ash/shell.cc

Issue 2934673002: Revert of Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: 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 38437f3f5aa6f1c313640e71718cd64e521e6f32..61379d587dbbeef3f3137f90b83b5ea7d2beec5b 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -553,12 +553,6 @@
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,9 +913,11 @@
if (!display_initialized)
display_manager_->InitDefaultDisplay();
+ // TODO(sky): move this to chrome for mash. http://crbug.com/729824.
+ if (ShouldEnableSimplifiedDisplayManagement())
+ display_manager_->RefreshFontParams();
+
if (config == Config::CLASSIC) {
- display_manager_->RefreshFontParams();
-
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