| 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 { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 extern const char kEventResponsive[]; | 28 extern const char kEventResponsive[]; |
| 29 extern const char kEventSizeChanged[]; | 29 extern const char kEventSizeChanged[]; |
| 30 extern const char kEventUnresponsive[]; | 30 extern const char kEventUnresponsive[]; |
| 31 extern const char kEventZoomChange[]; | 31 extern const char kEventZoomChange[]; |
| 32 | 32 |
| 33 // Parameters/properties on events. | 33 // Parameters/properties on events. |
| 34 extern const char kContextMenuItems[]; | 34 extern const char kContextMenuItems[]; |
| 35 extern const char kDefaultPromptText[]; | 35 extern const char kDefaultPromptText[]; |
| 36 extern const char kFindSearchText[]; | 36 extern const char kFindSearchText[]; |
| 37 extern const char kFindFinalUpdate[]; | 37 extern const char kFindFinalUpdate[]; |
| 38 extern const char kInitialHeight[]; |
| 39 extern const char kInitialWidth[]; |
| 38 extern const char kLastUnlockedBySelf[]; | 40 extern const char kLastUnlockedBySelf[]; |
| 39 extern const char kLevel[]; | 41 extern const char kLevel[]; |
| 40 extern const char kLine[]; | 42 extern const char kLine[]; |
| 41 extern const char kMessage[]; | 43 extern const char kMessage[]; |
| 42 extern const char kMessageText[]; | 44 extern const char kMessageText[]; |
| 43 extern const char kMessageType[]; | 45 extern const char kMessageType[]; |
| 46 extern const char kName[]; |
| 44 extern const char kNewHeight[]; | 47 extern const char kNewHeight[]; |
| 45 extern const char kNewURL[]; | 48 extern const char kNewURL[]; |
| 46 extern const char kNewWidth[]; | 49 extern const char kNewWidth[]; |
| 47 extern const char kOldHeight[]; | 50 extern const char kOldHeight[]; |
| 48 extern const char kOldURL[]; | 51 extern const char kOldURL[]; |
| 49 extern const char kPermission[]; | 52 extern const char kPermission[]; |
| 50 extern const char kPermissionTypeDialog[]; | 53 extern const char kPermissionTypeDialog[]; |
| 51 extern const char kPermissionTypeDownload[]; | 54 extern const char kPermissionTypeDownload[]; |
| 52 extern const char kPermissionTypeGeolocation[]; | 55 extern const char kPermissionTypeGeolocation[]; |
| 53 extern const char kPermissionTypeLoadPlugin[]; | 56 extern const char kPermissionTypeLoadPlugin[]; |
| 54 extern const char kPermissionTypeMedia[]; | 57 extern const char kPermissionTypeMedia[]; |
| 55 extern const char kPermissionTypeNewWindow[]; | 58 extern const char kPermissionTypeNewWindow[]; |
| 56 extern const char kPermissionTypePointerLock[]; | 59 extern const char kPermissionTypePointerLock[]; |
| 57 extern const char kOldWidth[]; | 60 extern const char kOldWidth[]; |
| 58 extern const char kProcessId[]; | 61 extern const char kProcessId[]; |
| 59 extern const char kProgress[]; | 62 extern const char kProgress[]; |
| 60 extern const char kReason[]; | 63 extern const char kReason[]; |
| 61 extern const char kRequestId[]; | 64 extern const char kRequestId[]; |
| 62 extern const char kSourceId[]; | 65 extern const char kSourceId[]; |
| 66 extern const char kTargetURL[]; |
| 67 extern const char kWindowID[]; |
| 68 extern const char kWindowOpenDisposition[]; |
| 63 extern const char kOldZoomFactor[]; | 69 extern const char kOldZoomFactor[]; |
| 64 extern const char kNewZoomFactor[]; | 70 extern const char kNewZoomFactor[]; |
| 65 | 71 |
| 66 // Internal parameters/properties on events. | 72 // Internal parameters/properties on events. |
| 67 extern const char kInternalCurrentEntryIndex[]; | 73 extern const char kInternalCurrentEntryIndex[]; |
| 68 extern const char kInternalEntryCount[]; | 74 extern const char kInternalEntryCount[]; |
| 69 extern const char kInternalProcessId[]; | 75 extern const char kInternalProcessId[]; |
| 70 | 76 |
| 71 // Parameters to callback functions. | 77 // Parameters to callback functions. |
| 72 extern const char kFindNumberOfMatches[]; | 78 extern const char kFindNumberOfMatches[]; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 84 | 90 |
| 85 // Miscellaneous. | 91 // Miscellaneous. |
| 86 extern const char kMenuItemCommandId[]; | 92 extern const char kMenuItemCommandId[]; |
| 87 extern const char kMenuItemLabel[]; | 93 extern const char kMenuItemLabel[]; |
| 88 extern const unsigned int kMaxOutstandingPermissionRequests; | 94 extern const unsigned int kMaxOutstandingPermissionRequests; |
| 89 extern const int kInvalidPermissionRequestID; | 95 extern const int kInvalidPermissionRequestID; |
| 90 | 96 |
| 91 } // namespace webview | 97 } // namespace webview |
| 92 | 98 |
| 93 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 99 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
| OLD | NEW |