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 #include "extensions/browser/guest_view/web_view/web_view_constants.h" | 5 #include "extensions/browser/guest_view/web_view/web_view_constants.h" |
6 | 6 |
7 namespace webview { | 7 namespace webview { |
8 | 8 |
9 // Attributes. | 9 // Attributes. |
10 const char kAttributeAllowTransparency[] = "allowtransparency"; | 10 const char kAttributeAllowTransparency[] = "allowtransparency"; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
80 const char kReason[] = "reason"; | 80 const char kReason[] = "reason"; |
81 const char kRequestId[] = "requestId"; | 81 const char kRequestId[] = "requestId"; |
82 const char kSourceId[] = "sourceId"; | 82 const char kSourceId[] = "sourceId"; |
83 const char kTargetURL[] = "targetUrl"; | 83 const char kTargetURL[] = "targetUrl"; |
84 const char kWindowID[] = "windowId"; | 84 const char kWindowID[] = "windowId"; |
85 const char kWindowOpenDisposition[] = "windowOpenDisposition"; | 85 const char kWindowOpenDisposition[] = "windowOpenDisposition"; |
86 const char kOldZoomFactor[] = "oldZoomFactor"; | 86 const char kOldZoomFactor[] = "oldZoomFactor"; |
87 const char kNewZoomFactor[] = "newZoomFactor"; | 87 const char kNewZoomFactor[] = "newZoomFactor"; |
88 | 88 |
89 // Internal parameters/properties on events. | 89 // Internal parameters/properties on events. |
90 const char kInternalBaseURLForDataURL[] = "baseURLForDataURL"; | |
Fady Samuel
2014/09/25 20:09:03
s/URL/Url/gc preferred javascript style.
paulmeyer
2014/09/25 20:39:51
Done.
| |
90 const char kInternalCurrentEntryIndex[] = "currentEntryIndex"; | 91 const char kInternalCurrentEntryIndex[] = "currentEntryIndex"; |
91 const char kInternalEntryCount[] = "entryCount"; | 92 const char kInternalEntryCount[] = "entryCount"; |
92 const char kInternalProcessId[] = "processId"; | 93 const char kInternalProcessId[] = "processId"; |
93 | 94 |
94 // Parameters to callback functions. | 95 // Parameters to callback functions. |
95 const char kFindNumberOfMatches[] = "numberOfMatches"; | 96 const char kFindNumberOfMatches[] = "numberOfMatches"; |
96 const char kFindActiveMatchOrdinal[] = "activeMatchOrdinal"; | 97 const char kFindActiveMatchOrdinal[] = "activeMatchOrdinal"; |
97 const char kFindSelectionRect[] = "selectionRect"; | 98 const char kFindSelectionRect[] = "selectionRect"; |
98 const char kFindRectLeft[] = "left"; | 99 const char kFindRectLeft[] = "left"; |
99 const char kFindRectTop[] = "top"; | 100 const char kFindRectTop[] = "top"; |
100 const char kFindRectWidth[] = "width"; | 101 const char kFindRectWidth[] = "width"; |
101 const char kFindRectHeight[] = "height"; | 102 const char kFindRectHeight[] = "height"; |
102 const char kFindCanceled[] = "canceled"; | 103 const char kFindCanceled[] = "canceled"; |
103 | 104 |
104 // Initialization parameters. | 105 // Initialization parameters. |
105 const char kParameterUserAgentOverride[] = "userAgentOverride"; | 106 const char kParameterUserAgentOverride[] = "userAgentOverride"; |
106 | 107 |
107 // Miscellaneous. | 108 // Miscellaneous. |
108 const char kMenuItemCommandId[] = "commandId"; | 109 const char kMenuItemCommandId[] = "commandId"; |
109 const char kMenuItemLabel[] = "label"; | 110 const char kMenuItemLabel[] = "label"; |
110 const char kPersistPrefix[] = "persist:"; | 111 const char kPersistPrefix[] = "persist:"; |
111 const char kStoragePartitionId[] = "storagePartitionId"; | 112 const char kStoragePartitionId[] = "storagePartitionId"; |
112 const unsigned int kMaxOutstandingPermissionRequests = 1024; | 113 const unsigned int kMaxOutstandingPermissionRequests = 1024; |
113 const int kInvalidPermissionRequestID = 0; | 114 const int kInvalidPermissionRequestID = 0; |
114 | 115 |
115 } // namespace webview | 116 } // namespace webview |
OLD | NEW |