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

Unified Diff: chrome/browser/chromeos/ui/focus_ring_layer.cc

Issue 2868723006: Changing focus ring color by node. Focus ring can now change color without changing bounds (Closed)
Patch Set: Responded to comment 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 | « no previous file | chrome/browser/resources/chromeos/switch_access/automation_manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/ui/focus_ring_layer.cc
diff --git a/chrome/browser/chromeos/ui/focus_ring_layer.cc b/chrome/browser/chromeos/ui/focus_ring_layer.cc
index a9754af952be94e57f6855a990fdc413290db871..2fc7eb1d29dd4b871e898ab14217e2eac4e00421 100644
--- a/chrome/browser/chromeos/ui/focus_ring_layer.cc
+++ b/chrome/browser/chromeos/ui/focus_ring_layer.cc
@@ -78,6 +78,8 @@ void FocusRingLayer::CreateOrUpdateLayer(aura::Window* root_window,
layer_->parent()->StackAtTop(layer_.get());
layer_->SetBounds(bounds);
+ gfx::Rect layer_bounds(0, 0, bounds.width(), bounds.height());
+ layer_->SchedulePaint(layer_bounds);
// Update the animation observer.
display::Display display =
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/switch_access/automation_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698