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

Unified Diff: ash/ash_touch_exploration_manager_chromeos.cc

Issue 2890733005: Refactor backdrop that is currently used in the maximized mode. (Closed)
Patch Set: fix memory issue in AshTouchExplorationManager 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 | « ash/BUILD.gn ('k') | ash/test/workspace_controller_test_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ash_touch_exploration_manager_chromeos.cc
diff --git a/ash/ash_touch_exploration_manager_chromeos.cc b/ash/ash_touch_exploration_manager_chromeos.cc
index c9ed8ac41cc1bfc801928343b082113e9702c0ca..6120ffbf4de19d4c49fe0ea4118585cf05818dad 100644
--- a/ash/ash_touch_exploration_manager_chromeos.cc
+++ b/ash/ash_touch_exploration_manager_chromeos.cc
@@ -167,9 +167,9 @@ void AshTouchExplorationManager::UpdateTouchExplorationState() {
touch_accessibility_enabler_.get());
}
if (pass_through_surface) {
- const gfx::Rect& work_area = root_window_controller_->GetWindow()
- ->GetDisplayNearestWindow()
- .work_area();
+ const gfx::Rect work_area = root_window_controller_->GetWindow()
+ ->GetDisplayNearestWindow()
+ .work_area();
touch_exploration_controller_->SetExcludeBounds(work_area);
SilenceSpokenFeedback();
Shell::Get()->accessibility_delegate()->ClearFocusHighlight();
« no previous file with comments | « ash/BUILD.gn ('k') | ash/test/workspace_controller_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698