summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/notifications/balloon_controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/notifications/balloon_controller.mm')
-rw-r--r--chrome/browser/cocoa/notifications/balloon_controller.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/notifications/balloon_controller.mm b/chrome/browser/cocoa/notifications/balloon_controller.mm
index f452cb4..d8a42ca 100644
--- a/chrome/browser/cocoa/notifications/balloon_controller.mm
+++ b/chrome/browser/cocoa/notifications/balloon_controller.mm
@@ -237,6 +237,11 @@ const int kDefaultShelfHeight = 22;
[self shelfHeight];
}
+// Returns the BalloonHost {
+- (BalloonViewHost*) getHost {
+ return htmlContents_.get();
+}
+
// Relative to the lower left of the frame, above the shelf.
- (NSPoint)contentsOffset {
return NSMakePoint(kLeftShadowWidth + kLeftMargin,