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

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

Issue 1762373002: Corrects ContentSettingBubbleContents to show bubble with arrow when animation is paused (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds ContentSettingBubbleContents::Show (show arrow on pause) Created 4 years, 10 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 a6beed464000b9ef00d339bf9f39f2ed7bb1caa1..223df6b33222ff15100ad757f9715d46ce8c3d94 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
@@ -16,6 +16,7 @@
#include "ui/views/view.h"
#include "ui/views/widget/widget_observer.h"
+class ContentSettingBubbleContents;
class ContentSettingImageModel;
class LocationBarView;
@@ -28,7 +29,6 @@ class FontList;
}
namespace views {
-class BubbleDelegateView;
class ImageView;
class InkDropDelegate;
class Label;
@@ -96,7 +96,7 @@ class ContentSettingImageView : public IconLabelBubbleView,
gfx::SlideAnimation slide_animator_;
bool pause_animation_;
double pause_animation_state_;
- views::BubbleDelegateView* bubble_view_;
+ ContentSettingBubbleContents* bubble_view_;
// This is used to check if the bubble was showing during the mouse pressed
// event. If this is true then the mouse released event is ignored to prevent

Powered by Google App Engine
This is Rietveld 408576698