| 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 EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 7 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
| 8 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 8 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
| 9 | 9 |
| 10 namespace webview { | 10 namespace webview { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 extern const char kAPILoadDataInvalidVirtualURL[]; | 25 extern const char kAPILoadDataInvalidVirtualURL[]; |
| 26 | 26 |
| 27 // Events. | 27 // Events. |
| 28 extern const char kEventClose[]; | 28 extern const char kEventClose[]; |
| 29 extern const char kEventConsoleMessage[]; | 29 extern const char kEventConsoleMessage[]; |
| 30 extern const char kEventContentLoad[]; | 30 extern const char kEventContentLoad[]; |
| 31 extern const char kEventContextMenu[]; | 31 extern const char kEventContextMenu[]; |
| 32 extern const char kEventDialog[]; | 32 extern const char kEventDialog[]; |
| 33 extern const char kEventDropLink[]; | 33 extern const char kEventDropLink[]; |
| 34 extern const char kEventExit[]; | 34 extern const char kEventExit[]; |
| 35 extern const char kEventExitFullscreen[]; |
| 35 extern const char kEventFindReply[]; | 36 extern const char kEventFindReply[]; |
| 36 extern const char kEventFrameNameChanged[]; | 37 extern const char kEventFrameNameChanged[]; |
| 37 extern const char kEventLoadAbort[]; | 38 extern const char kEventLoadAbort[]; |
| 38 extern const char kEventLoadCommit[]; | 39 extern const char kEventLoadCommit[]; |
| 39 extern const char kEventLoadProgress[]; | 40 extern const char kEventLoadProgress[]; |
| 40 extern const char kEventLoadRedirect[]; | 41 extern const char kEventLoadRedirect[]; |
| 41 extern const char kEventLoadStart[]; | 42 extern const char kEventLoadStart[]; |
| 42 extern const char kEventLoadStop[]; | 43 extern const char kEventLoadStop[]; |
| 43 extern const char kEventMessage[]; | 44 extern const char kEventMessage[]; |
| 44 extern const char kEventNewWindow[]; | 45 extern const char kEventNewWindow[]; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 63 extern const char kLine[]; | 64 extern const char kLine[]; |
| 64 extern const char kMessage[]; | 65 extern const char kMessage[]; |
| 65 extern const char kMessageText[]; | 66 extern const char kMessageText[]; |
| 66 extern const char kMessageType[]; | 67 extern const char kMessageType[]; |
| 67 extern const char kName[]; | 68 extern const char kName[]; |
| 68 extern const char kNewHeight[]; | 69 extern const char kNewHeight[]; |
| 69 extern const char kNewURL[]; | 70 extern const char kNewURL[]; |
| 70 extern const char kNewWidth[]; | 71 extern const char kNewWidth[]; |
| 71 extern const char kOldHeight[]; | 72 extern const char kOldHeight[]; |
| 72 extern const char kOldURL[]; | 73 extern const char kOldURL[]; |
| 74 extern const char kOrigin[]; |
| 73 extern const char kPermission[]; | 75 extern const char kPermission[]; |
| 74 extern const char kPermissionTypeDialog[]; | 76 extern const char kPermissionTypeDialog[]; |
| 75 extern const char kPermissionTypeDownload[]; | 77 extern const char kPermissionTypeDownload[]; |
| 76 extern const char kPermissionTypeFileSystem[]; | 78 extern const char kPermissionTypeFileSystem[]; |
| 79 extern const char kPermissionTypeFullscreen[]; |
| 77 extern const char kPermissionTypeGeolocation[]; | 80 extern const char kPermissionTypeGeolocation[]; |
| 78 extern const char kPermissionTypeLoadPlugin[]; | 81 extern const char kPermissionTypeLoadPlugin[]; |
| 79 extern const char kPermissionTypeMedia[]; | 82 extern const char kPermissionTypeMedia[]; |
| 80 extern const char kPermissionTypeNewWindow[]; | 83 extern const char kPermissionTypeNewWindow[]; |
| 81 extern const char kPermissionTypePointerLock[]; | 84 extern const char kPermissionTypePointerLock[]; |
| 82 extern const char kOldWidth[]; | 85 extern const char kOldWidth[]; |
| 83 extern const char kProcessId[]; | 86 extern const char kProcessId[]; |
| 84 extern const char kProgress[]; | 87 extern const char kProgress[]; |
| 85 extern const char kReason[]; | 88 extern const char kReason[]; |
| 86 extern const char kRequestId[]; | 89 extern const char kRequestId[]; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 115 extern const char kMenuItemCommandId[]; | 118 extern const char kMenuItemCommandId[]; |
| 116 extern const char kMenuItemLabel[]; | 119 extern const char kMenuItemLabel[]; |
| 117 extern const char kPersistPrefix[]; | 120 extern const char kPersistPrefix[]; |
| 118 extern const char kStoragePartitionId[]; | 121 extern const char kStoragePartitionId[]; |
| 119 extern const unsigned int kMaxOutstandingPermissionRequests; | 122 extern const unsigned int kMaxOutstandingPermissionRequests; |
| 120 extern const int kInvalidPermissionRequestID; | 123 extern const int kInvalidPermissionRequestID; |
| 121 | 124 |
| 122 } // namespace webview | 125 } // namespace webview |
| 123 | 126 |
| 124 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 127 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
| OLD | NEW |