OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Constants used for the WebView API. | 5 // Constants used for the WebView API. |
6 | 6 |
7 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
8 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 8 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
9 | 9 |
10 namespace webview { | 10 namespace webview { |
11 | 11 |
| 12 // Attributes. |
| 13 extern const char kAttributeAutoSize[]; |
| 14 extern const char kAttributeMaxHeight[]; |
| 15 extern const char kAttributeMaxWidth[]; |
| 16 extern const char kAttributeMinHeight[]; |
| 17 extern const char kAttributeMinWidth[]; |
| 18 |
12 // Events. | 19 // Events. |
13 extern const char kEventClose[]; | 20 extern const char kEventClose[]; |
14 extern const char kEventConsoleMessage[]; | 21 extern const char kEventConsoleMessage[]; |
15 extern const char kEventContentLoad[]; | 22 extern const char kEventContentLoad[]; |
16 extern const char kEventContextMenu[]; | 23 extern const char kEventContextMenu[]; |
17 extern const char kEventDialog[]; | 24 extern const char kEventDialog[]; |
18 extern const char kEventExit[]; | 25 extern const char kEventExit[]; |
19 extern const char kEventFindReply[]; | 26 extern const char kEventFindReply[]; |
20 extern const char kEventFrameNameChanged[]; | 27 extern const char kEventFrameNameChanged[]; |
21 extern const char kEventLoadAbort[]; | 28 extern const char kEventLoadAbort[]; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 extern const char kMenuItemCommandId[]; | 105 extern const char kMenuItemCommandId[]; |
99 extern const char kMenuItemLabel[]; | 106 extern const char kMenuItemLabel[]; |
100 extern const char kPersistPrefix[]; | 107 extern const char kPersistPrefix[]; |
101 extern const char kStoragePartitionId[]; | 108 extern const char kStoragePartitionId[]; |
102 extern const unsigned int kMaxOutstandingPermissionRequests; | 109 extern const unsigned int kMaxOutstandingPermissionRequests; |
103 extern const int kInvalidPermissionRequestID; | 110 extern const int kInvalidPermissionRequestID; |
104 | 111 |
105 } // namespace webview | 112 } // namespace webview |
106 | 113 |
107 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 114 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
OLD | NEW |