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

Unified Diff: ash/magnifier/partial_magnification_controller.h

Issue 2356323003: cros: Change look of partial magnifier. (Closed)
Patch Set: Fixed patch set 7 errors. Created 4 years, 2 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 | ash/magnifier/partial_magnification_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/magnifier/partial_magnification_controller.h
diff --git a/ash/magnifier/partial_magnification_controller.h b/ash/magnifier/partial_magnification_controller.h
index b42f61df9c4baebe423c849ffe27b49e81b1a04b..146f672517457a44a33b4b09a3eed21966e82e77 100644
--- a/ash/magnifier/partial_magnification_controller.h
+++ b/ash/magnifier/partial_magnification_controller.h
@@ -86,9 +86,9 @@ class ASH_EXPORT PartialMagnificationController : public ui::EventHandler,
// Draws an outline that is overlayed on top of |zoom_layer_|.
std::unique_ptr<ui::Layer> border_layer_;
// Draws a multicolored black/white/black border on top of |border_layer_|.
- // This must be ordered after |border_layer_| so that it gets destroyed after
- // |border_layer_|, otherwise |border_layer_| will have a pointer to a deleted
- // delegate.
+ // Also draws a shadow around the border. This must be ordered after
+ // |border_layer_| so that it gets destroyed after |border_layer_|, otherwise
+ // |border_layer_| will have a pointer to a deleted delegate.
std::unique_ptr<BorderRenderer> border_renderer_;
// Masks the content of |zoom_layer_| so that only a circle is magnified.
std::unique_ptr<ContentMask> zoom_mask_;
« no previous file with comments | « no previous file | ash/magnifier/partial_magnification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698