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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 extern const char kReason[]; | 84 extern const char kReason[]; |
85 extern const char kRequestId[]; | 85 extern const char kRequestId[]; |
86 extern const char kSourceId[]; | 86 extern const char kSourceId[]; |
87 extern const char kTargetURL[]; | 87 extern const char kTargetURL[]; |
88 extern const char kWindowID[]; | 88 extern const char kWindowID[]; |
89 extern const char kWindowOpenDisposition[]; | 89 extern const char kWindowOpenDisposition[]; |
90 extern const char kOldZoomFactor[]; | 90 extern const char kOldZoomFactor[]; |
91 extern const char kNewZoomFactor[]; | 91 extern const char kNewZoomFactor[]; |
92 | 92 |
93 // Internal parameters/properties on events. | 93 // Internal parameters/properties on events. |
| 94 extern const char kInternalBaseURLForDataURL[]; |
94 extern const char kInternalCurrentEntryIndex[]; | 95 extern const char kInternalCurrentEntryIndex[]; |
95 extern const char kInternalEntryCount[]; | 96 extern const char kInternalEntryCount[]; |
96 extern const char kInternalProcessId[]; | 97 extern const char kInternalProcessId[]; |
97 | 98 |
98 // Parameters to callback functions. | 99 // Parameters to callback functions. |
99 extern const char kFindNumberOfMatches[]; | 100 extern const char kFindNumberOfMatches[]; |
100 extern const char kFindActiveMatchOrdinal[]; | 101 extern const char kFindActiveMatchOrdinal[]; |
101 extern const char kFindSelectionRect[]; | 102 extern const char kFindSelectionRect[]; |
102 extern const char kFindRectLeft[]; | 103 extern const char kFindRectLeft[]; |
103 extern const char kFindRectTop[]; | 104 extern const char kFindRectTop[]; |
104 extern const char kFindRectWidth[]; | 105 extern const char kFindRectWidth[]; |
105 extern const char kFindRectHeight[]; | 106 extern const char kFindRectHeight[]; |
106 extern const char kFindCanceled[]; | 107 extern const char kFindCanceled[]; |
107 extern const char kFindDone[]; | 108 extern const char kFindDone[]; |
108 | 109 |
109 // Initialization parameters. | 110 // Initialization parameters. |
110 extern const char kParameterUserAgentOverride[]; | 111 extern const char kParameterUserAgentOverride[]; |
111 | 112 |
112 // Miscellaneous. | 113 // Miscellaneous. |
113 extern const char kMenuItemCommandId[]; | 114 extern const char kMenuItemCommandId[]; |
114 extern const char kMenuItemLabel[]; | 115 extern const char kMenuItemLabel[]; |
115 extern const char kPersistPrefix[]; | 116 extern const char kPersistPrefix[]; |
116 extern const char kStoragePartitionId[]; | 117 extern const char kStoragePartitionId[]; |
117 extern const unsigned int kMaxOutstandingPermissionRequests; | 118 extern const unsigned int kMaxOutstandingPermissionRequests; |
118 extern const int kInvalidPermissionRequestID; | 119 extern const int kInvalidPermissionRequestID; |
119 | 120 |
120 } // namespace webview | 121 } // namespace webview |
121 | 122 |
122 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ | 123 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |
OLD | NEW |