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

Side by Side Diff: chrome/browser/extensions/extension_global_error_badge.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_BADGE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_BADGE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_BADGE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_BADGE_H_
7 #pragma once
8 7
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
11 #include "chrome/browser/ui/global_error/global_error.h" 10 #include "chrome/browser/ui/global_error/global_error.h"
12 11
13 // Non-modal GlobalError implementation that warns the user if extensions 12 // Non-modal GlobalError implementation that warns the user if extensions
14 // created warnings or errors. If the user clicks on the wrench menu, the user 13 // created warnings or errors. If the user clicks on the wrench menu, the user
15 // is redirected to chrome://extensions to inspect the errors. 14 // is redirected to chrome://extensions to inspect the errors.
16 // 15 //
17 // This class is a candidate to be merged with ExtensionGlobalError once 16 // This class is a candidate to be merged with ExtensionGlobalError once
(...skipping 19 matching lines...) Expand all
37 virtual void OnBubbleViewDidClose(Browser* browser) OVERRIDE; 36 virtual void OnBubbleViewDidClose(Browser* browser) OVERRIDE;
38 virtual void BubbleViewAcceptButtonPressed(Browser* browser) OVERRIDE; 37 virtual void BubbleViewAcceptButtonPressed(Browser* browser) OVERRIDE;
39 virtual void BubbleViewCancelButtonPressed(Browser* browser) OVERRIDE; 38 virtual void BubbleViewCancelButtonPressed(Browser* browser) OVERRIDE;
40 39
41 static int GetMenuItemCommandID(); 40 static int GetMenuItemCommandID();
42 private: 41 private:
43 DISALLOW_COPY_AND_ASSIGN(ExtensionGlobalErrorBadge); 42 DISALLOW_COPY_AND_ASSIGN(ExtensionGlobalErrorBadge);
44 }; 43 };
45 44
46 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_BADGE_H_ 45 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_BADGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_global_error.h ('k') | chrome/browser/extensions/extension_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698