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

Unified Diff: chrome/browser/ui/cocoa/bubble_anchor_helper_views.h

Issue 2586373003: MacViews: Allow toolkit-views for "Global Error" bubbles. (Closed)
Patch Set: addObserverForName Created 3 years, 11 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 | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/bubble_anchor_helper_views.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/bubble_anchor_helper_views.h
diff --git a/chrome/browser/ui/cocoa/bubble_anchor_helper_views.h b/chrome/browser/ui/cocoa/bubble_anchor_helper_views.h
new file mode 100644
index 0000000000000000000000000000000000000000..527c5ceb187a1bfff42b85cb3adfd6255293b4a5
--- /dev/null
+++ b/chrome/browser/ui/cocoa/bubble_anchor_helper_views.h
@@ -0,0 +1,16 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_
+#define CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_
+
+namespace views {
+class BubbleDialogDelegateView;
+}
+
+// Monitors |bubble|'s parent window for size changes, and updates the bubble
+// anchor. The monitor will be deleted when |bubble| is closed.
+void KeepBubbleAnchored(views::BubbleDialogDelegateView* bubble);
+
+#endif // CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_VIEWS_H_
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/bubble_anchor_helper_views.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698