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 | |
19 // Events. | 12 // Events. |
20 extern const char kEventClose[]; | 13 extern const char kEventClose[]; |
21 extern const char kEventConsoleMessage[]; | 14 extern const char kEventConsoleMessage[]; |
22 extern const char kEventContentLoad[]; | 15 extern const char kEventContentLoad[]; |
23 extern const char kEventContextMenu[]; | 16 extern const char kEventContextMenu[]; |
24 extern const char kEventDialog[]; | 17 extern const char kEventDialog[]; |
25 extern const char kEventExit[]; | 18 extern const char kEventExit[]; |
26 extern const char kEventFindReply[]; | 19 extern const char kEventFindReply[]; |
27 extern const char kEventFrameNameChanged[]; | 20 extern const char kEventFrameNameChanged[]; |
28 extern const char kEventLoadAbort[]; | 21 extern const char kEventLoadAbort[]; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 extern const char kMenuItemCommandId[]; | 98 extern const char kMenuItemCommandId[]; |
106 extern const char kMenuItemLabel[]; | 99 extern const char kMenuItemLabel[]; |
107 extern const char kPersistPrefix[]; | 100 extern const char kPersistPrefix[]; |
108 extern const char kStoragePartitionId[]; | 101 extern const char kStoragePartitionId[]; |
109 extern const unsigned int kMaxOutstandingPermissionRequests; | 102 extern const unsigned int kMaxOutstandingPermissionRequests; |
110 extern const int kInvalidPermissionRequestID; | 103 extern const int kInvalidPermissionRequestID; |
111 | 104 |
112 } // namespace webview | 105 } // namespace webview |
113 | 106 |
114 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 107 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
OLD | NEW |