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

Unified Diff: ui/views/bubble/bubble_frame_view.h

Issue 2803293002: Create Bookmark Footnote desktop iOS promotion (Closed)
Patch Set: no explicit remove 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
Index: ui/views/bubble/bubble_frame_view.h
diff --git a/ui/views/bubble/bubble_frame_view.h b/ui/views/bubble/bubble_frame_view.h
index e8784d17c9189ac7d612d06a1b79cff1406a389b..1abbbe8e0471c2062383b55b4bac9633934df43b 100644
--- a/ui/views/bubble/bubble_frame_view.h
+++ b/ui/views/bubble/bubble_frame_view.h
@@ -63,6 +63,8 @@ class VIEWS_EXPORT BubbleFrameView : public NonClientFrameView,
void PaintChildren(const ui::PaintContext& context) override;
void OnThemeChanged() override;
void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
+ void ViewHierarchyChanged(
+ const ViewHierarchyChangedDetails& details) override;
// ButtonListener:
void ButtonPressed(Button* sender, const ui::Event& event) override;
@@ -75,6 +77,8 @@ class VIEWS_EXPORT BubbleFrameView : public NonClientFrameView,
void SetFootnoteView(View* view);
+ void RemoveFootnoteView();
+
// Given the size of the contents and the rect to point at, returns the bounds
// of the bubble window. The bubble's arrow location may change if the bubble
// does not fit on the monitor and |adjust_if_offscreen| is true.
@@ -95,6 +99,7 @@ class VIEWS_EXPORT BubbleFrameView : public NonClientFrameView,
private:
FRIEND_TEST_ALL_PREFIXES(BubbleFrameViewTest, GetBoundsForClientView);
+ FRIEND_TEST_ALL_PREFIXES(BubbleFrameViewTest, RemoveFootnoteView);
FRIEND_TEST_ALL_PREFIXES(BubbleDelegateTest, CloseReasons);
FRIEND_TEST_ALL_PREFIXES(BubbleDialogDelegateTest, CloseMethods);

Powered by Google App Engine
This is Rietveld 408576698