| Index: chrome/browser/ui/global_error_delegate.cc
|
| diff --git a/chrome/browser/ui/global_error_delegate.cc b/chrome/browser/ui/global_error_delegate.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d5e40b58616d40c92c588bc07afae86e4a624a0e
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/global_error_delegate.cc
|
| @@ -0,0 +1,32 @@
|
| +// Copyright (c) 2011 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.
|
| +
|
| +#include "chrome/browser/ui/global_error_delegate.h"
|
| +
|
| +#include "chrome/browser/ui/global_error_bubble_view.h"
|
| +#include "grit/theme_resources.h"
|
| +#include "grit/theme_resources_standard.h"
|
| +
|
| +GlobalErrorDelegate::GlobalErrorDelegate() {
|
| +}
|
| +
|
| +GlobalErrorDelegate::~GlobalErrorDelegate() {
|
| +}
|
| +
|
| +int GlobalErrorDelegate::GetBadgeResourceID() {
|
| + return IDR_UPDATE_BADGE4;
|
| +}
|
| +
|
| +int GlobalErrorDelegate::MenuItemIconResourceID() {
|
| + return IDR_UPDATE_MENU4;
|
| +}
|
| +
|
| +void GlobalErrorDelegate::ShowBubbleView(Browser* browser,
|
| + const gfx::Rect& position_relative_to) {
|
| + ShowBubbleView(this, browser, position_relative_to);
|
| +}
|
| +
|
| +int GlobalErrorDelegate::GetBubbleViewIconResourceID() {
|
| + return IDR_INPUT_ALERT;
|
| +}
|
|
|