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

Unified Diff: components/bubble/bubble_ui.h

Issue 1323133002: Pass a BubbleReference to BubbleUI::Show. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bubbleReference -> bubble_reference Created 5 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
« no previous file with comments | « components/bubble/bubble_reference.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bubble/bubble_ui.h
diff --git a/components/bubble/bubble_ui.h b/components/bubble/bubble_ui.h
index 5c52f4fb0675cc144dfce7a86437709761ea89b0..d887fb7228901c18bf7b2ed879c6d50e6d4220e3 100644
--- a/components/bubble/bubble_ui.h
+++ b/components/bubble/bubble_ui.h
@@ -5,12 +5,15 @@
#ifndef COMPONENTS_BUBBLE_BUBBLE_UI_H_
#define COMPONENTS_BUBBLE_BUBBLE_UI_H_
+#include "components/bubble/bubble_reference.h"
+
class BubbleUI {
public:
virtual ~BubbleUI() {}
- // Should display the bubble UI.
- virtual void Show() = 0;
+ // Should display the bubble UI. BubbleReference is passed in so that the
+ // bubble UI can notify the BubbleManager if it needs to close.
+ virtual void Show(BubbleReference bubble_reference) = 0;
// Should close the bubble UI.
virtual void Close() = 0;
« no previous file with comments | « components/bubble/bubble_reference.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698