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

Unified Diff: ui/message_center/views/message_bubble_base.h

Issue 2901273003: chromeos: Remove TrayBubbleView::Delegate::OnBeforeBubbleWidgetInit (Closed)
Patch Set: nit 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/message_center/views/message_bubble_base.h
diff --git a/ui/message_center/views/message_bubble_base.h b/ui/message_center/views/message_bubble_base.h
index 0c9718a85f6502320388455c2569e545aa625915..779b9b3fa03a4235e18e3765d9a501ba302e8232 100644
--- a/ui/message_center/views/message_bubble_base.h
+++ b/ui/message_center/views/message_bubble_base.h
@@ -8,6 +8,7 @@
#include <memory>
#include "base/macros.h"
+#include "ui/gfx/native_widget_types.h"
#include "ui/message_center/message_center.h"
#include "ui/message_center/message_center_export.h"
#include "ui/views/bubble/tray_bubble_view.h"
@@ -31,10 +32,6 @@ class MESSAGE_CENTER_EXPORT MessageBubbleBase {
void SetMaxHeight(int height);
int max_height() const { return max_height_; }
- // Gets the init params for the implementation.
- virtual views::TrayBubbleView::InitParams GetInitParams(
- views::TrayBubbleView::AnchorAlignment anchor_alignment) = 0;
-
// Called after the bubble view has been constructed. Creates and initializes
// the bubble contents.
virtual void InitializeContents(views::TrayBubbleView* bubble_view) = 0;
@@ -58,8 +55,6 @@ class MESSAGE_CENTER_EXPORT MessageBubbleBase {
views::TrayBubbleView* bubble_view() const { return bubble_view_; }
protected:
- views::TrayBubbleView::InitParams GetDefaultInitParams(
- views::TrayBubbleView::AnchorAlignment anchor_alignment);
MessageCenter* message_center() { return message_center_; }
MessageCenterTray* tray() { return tray_; }
void set_bubble_view(views::TrayBubbleView* bubble_view) {
« no previous file with comments | « ash/system/web_notification/web_notification_tray.cc ('k') | ui/message_center/views/message_bubble_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698