| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_COMMON_EXTENSIONS_EXTENSION_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 // NOTE: If you change this list, you should also change kIconSizes in the cc | 57 // NOTE: If you change this list, you should also change kIconSizes in the cc |
| 58 // file. | 58 // file. |
| 59 enum Icons { | 59 enum Icons { |
| 60 EXTENSION_ICON_LARGE = 128, | 60 EXTENSION_ICON_LARGE = 128, |
| 61 EXTENSION_ICON_MEDIUM = 48, | 61 EXTENSION_ICON_MEDIUM = 48, |
| 62 EXTENSION_ICON_SMALL = 32, | 62 EXTENSION_ICON_SMALL = 32, |
| 63 EXTENSION_ICON_BITTY = 16, | 63 EXTENSION_ICON_BITTY = 16, |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 // The URL to browse the extensions gallery. | |
| 67 static const char* kGalleryBrowseUrl; | |
| 68 | |
| 69 // Icon sizes used by the extension system. | 66 // Icon sizes used by the extension system. |
| 70 static const int kIconSizes[]; | 67 static const int kIconSizes[]; |
| 71 | 68 |
| 72 // Max size (both dimensions) for browser and page actions. | 69 // Max size (both dimensions) for browser and page actions. |
| 73 static const int kPageActionIconMaxSize; | 70 static const int kPageActionIconMaxSize; |
| 74 static const int kBrowserActionIconMaxSize; | 71 static const int kBrowserActionIconMaxSize; |
| 75 | 72 |
| 76 // Each permission is a module that the extension is permitted to use. | 73 // Each permission is a module that the extension is permitted to use. |
| 77 static const char* kTabPermission; | 74 static const char* kTabPermission; |
| 78 static const char* kBookmarkPermission; | 75 static const char* kBookmarkPermission; |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 | 416 |
| 420 // True if the background page is ready. | 417 // True if the background page is ready. |
| 421 bool background_page_ready_; | 418 bool background_page_ready_; |
| 422 | 419 |
| 423 FRIEND_TEST(ExtensionTest, LoadPageActionHelper); | 420 FRIEND_TEST(ExtensionTest, LoadPageActionHelper); |
| 424 | 421 |
| 425 DISALLOW_COPY_AND_ASSIGN(Extension); | 422 DISALLOW_COPY_AND_ASSIGN(Extension); |
| 426 }; | 423 }; |
| 427 | 424 |
| 428 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 425 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| OLD | NEW |