diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-10 05:27:29 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-10 05:27:29 +0000 |
commit | 89c375874aa2743d723e36c0a00e4694f0521d65 (patch) | |
tree | bfa9e950a142ab6caf2c72f7d54fdb7245c88893 /chrome/browser/ui/global_error.cc | |
parent | 819c4a7a8aee24595e8700933a261e99fa0a956f (diff) | |
download | chromium_src-89c375874aa2743d723e36c0a00e4694f0521d65.zip chromium_src-89c375874aa2743d723e36c0a00e4694f0521d65.tar.gz chromium_src-89c375874aa2743d723e36c0a00e4694f0521d65.tar.bz2 |
Add global error bubble view for Mac
This change adds a bubble view to show global errors on the Mac. Tests comming in a separate CL.
BUG=95146
TEST=
Review URL: http://codereview.chromium.org/7859022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100569 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/global_error.cc')
-rw-r--r-- | chrome/browser/ui/global_error.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/ui/global_error.cc b/chrome/browser/ui/global_error.cc index be06046..3e01571 100644 --- a/chrome/browser/ui/global_error.cc +++ b/chrome/browser/ui/global_error.cc @@ -4,6 +4,7 @@ #include "chrome/browser/ui/global_error.h" +#include "base/logging.h" #include "grit/theme_resources.h" #include "grit/theme_resources_standard.h" @@ -22,9 +23,16 @@ int GlobalError::MenuItemIconResourceID() { } void GlobalError::ShowBubbleView(Browser* browser) { - // TODO(sail) Need to implement this. + ShowBubbleView(browser, this); } int GlobalError::GetBubbleViewIconResourceID() { return IDR_INPUT_ALERT; } + +#if !defined(OS_MACOSX) +// static +void GlobalError::ShowBubbleView(Browser* browser, GlobalError* error) { + NOTREACHED(); +} +#endif |