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

Unified Diff: chrome/browser/ui/cocoa/global_error_bubble_controller.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
Index: chrome/browser/ui/cocoa/global_error_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/global_error_bubble_controller.h b/chrome/browser/ui/cocoa/global_error_bubble_controller.h
index 3bce1d5be7e7704f660bfc61a3602cc51ee8325d..ebb0e535267822fc70becb862b975e7d8888e6b2 100644
--- a/chrome/browser/ui/cocoa/global_error_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/global_error_bubble_controller.h
@@ -13,6 +13,7 @@
#import "chrome/browser/ui/cocoa/base_bubble_controller.h"
class Browser;
+class GlobalErrorBubbleViewBase;
class GlobalErrorWithStandardBubble;
@class GTMUILocalizerAndLayoutTweaker;
@class GTMWidthBasedTweaker;
@@ -45,4 +46,11 @@ class Bridge;
@end
+// Helper to show a toolkit-views global error bubble. Implemented in a views-
+// specific file.
+GlobalErrorBubbleViewBase* ShowViewsGlobalErrorBubbleOnCocoaBrowser(
+ NSPoint anchor,
+ Browser* browser,
+ const base::WeakPtr<GlobalErrorWithStandardBubble>& error);
+
#endif // CHROME_BROWSER_UI_COCOA_GLOBAL_ERROR_BUBBLE_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698