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

Unified Diff: chrome/browser/extensions/extension_global_error_badge.h

Issue 10407105: Improve error messaging of webRequest API in case of conflicts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Evan's comments Created 8 years, 1 month 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/extensions/extension_global_error_badge.h
diff --git a/chrome/browser/extensions/extension_global_error_badge.h b/chrome/browser/extensions/extension_global_error_badge.h
deleted file mode 100644
index 700162c477829d3a2054f72fe8072b4925c3d3dd..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/extension_global_error_badge.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2012 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_EXTENSIONS_EXTENSION_GLOBAL_ERROR_BADGE_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_BADGE_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chrome/browser/ui/global_error/global_error.h"
-
-// Non-modal GlobalError implementation that warns the user if extensions
-// created warnings or errors. If the user clicks on the wrench menu, the user
-// is redirected to chrome://extensions to inspect the errors.
-//
-// This class is a candidate to be merged with ExtensionGlobalError once
-// it is finished.
-class ExtensionGlobalErrorBadge : public GlobalError {
- public:
- ExtensionGlobalErrorBadge();
- virtual ~ExtensionGlobalErrorBadge();
-
- // Implementation for GlobalError:
- virtual bool HasBadge() OVERRIDE;
-
- virtual bool HasMenuItem() OVERRIDE;
- virtual int MenuItemCommandID() OVERRIDE;
- virtual string16 MenuItemLabel() OVERRIDE;
- virtual void ExecuteMenuItem(Browser* browser) OVERRIDE;
-
- virtual bool HasBubbleView() OVERRIDE;
- virtual string16 GetBubbleViewTitle() OVERRIDE;
- virtual string16 GetBubbleViewMessage() OVERRIDE;
- virtual string16 GetBubbleViewAcceptButtonLabel() OVERRIDE;
- virtual string16 GetBubbleViewCancelButtonLabel() OVERRIDE;
- virtual void OnBubbleViewDidClose(Browser* browser) OVERRIDE;
- virtual void BubbleViewAcceptButtonPressed(Browser* browser) OVERRIDE;
- virtual void BubbleViewCancelButtonPressed(Browser* browser) OVERRIDE;
-
- static int GetMenuItemCommandID();
- private:
- DISALLOW_COPY_AND_ASSIGN(ExtensionGlobalErrorBadge);
-};
-
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_BADGE_H_

Powered by Google App Engine
This is Rietveld 408576698