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

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

Issue 1809933003: Port BubbleDelegate tests to BubbleDialogDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: msw review Created 4 years, 9 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 | ui/views/bubble/bubble_dialog_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_dialog_delegate.h
diff --git a/ui/views/bubble/bubble_dialog_delegate.h b/ui/views/bubble/bubble_dialog_delegate.h
index 2efe93edddad79daded3691099602d35b77f175d..13c576efd7ee64830ca94f295816832671fee665 100644
--- a/ui/views/bubble/bubble_dialog_delegate.h
+++ b/ui/views/bubble/bubble_dialog_delegate.h
@@ -48,7 +48,6 @@ class VIEWS_EXPORT BubbleDialogDelegateView : public DialogDelegateView,
const char* GetClassName() const override;
// WidgetObserver overrides:
- void OnWidgetClosing(Widget* widget) override;
void OnWidgetDestroying(Widget* widget) override;
void OnWidgetVisibilityChanging(Widget* widget, bool visible) override;
void OnWidgetVisibilityChanged(Widget* widget, bool visible) override;
@@ -95,8 +94,6 @@ class VIEWS_EXPORT BubbleDialogDelegateView : public DialogDelegateView,
bool adjust_if_offscreen() const { return adjust_if_offscreen_; }
void set_adjust_if_offscreen(bool adjust) { adjust_if_offscreen_ = adjust; }
- CloseReason close_reason() const { return close_reason_; }
-
// Get the arrow's anchor rect in screen space.
virtual gfx::Rect GetAnchorRect() const;
@@ -200,8 +197,6 @@ class VIEWS_EXPORT BubbleDialogDelegateView : public DialogDelegateView,
// Parent native window of the bubble.
gfx::NativeView parent_window_;
- CloseReason close_reason_;
-
DISALLOW_COPY_AND_ASSIGN(BubbleDialogDelegateView);
};
« no previous file with comments | « no previous file | ui/views/bubble/bubble_dialog_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698