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

Unified Diff: chrome/browser/ui/views/location_bar/content_setting_image_view.h

Issue 23557004: Save password bubble pops up automatically (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Readding UpdatePostLayout Created 7 years, 3 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
Index: chrome/browser/ui/views/location_bar/content_setting_image_view.h
diff --git a/chrome/browser/ui/views/location_bar/content_setting_image_view.h b/chrome/browser/ui/views/location_bar/content_setting_image_view.h
index 350b3fd760db1df2fb503a94d2f543e31432a9d9..60cd2ac11b9277f75f850c9adcb055842f529ff6 100644
--- a/chrome/browser/ui/views/location_bar/content_setting_image_view.h
+++ b/chrome/browser/ui/views/location_bar/content_setting_image_view.h
@@ -42,7 +42,11 @@ class ContentSettingImageView : public ui::AnimationDelegate,
virtual ~ContentSettingImageView();
// Update the decoration from the shown WebContents.
- void Update(content::WebContents* web_contents);
+ void UpdatePreLayout(content::WebContents* web_contents);
+
+ // Perform any updates which depend on the image having already been laid out
+ // by the owning LocationBarView.
+ void UpdatePostLayout(content::WebContents* web_contents);
private:
// Number of milliseconds spent animating open; also the time spent animating

Powered by Google App Engine
This is Rietveld 408576698