Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_constants.cc

Issue 945333002: Implement <webview> droplink event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_bpe
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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";
11 const char kAttributeAllowScaling[] = "allowscaling"; 11 const char kAttributeAllowScaling[] = "allowscaling";
12 const char kAttributeName[] = "name"; 12 const char kAttributeName[] = "name";
13 const char kAttributeSrc[] = "src"; 13 const char kAttributeSrc[] = "src";
14 14
15 // API namespace. 15 // API namespace.
16 const char kAPINamespace[] = "webViewInternal"; 16 const char kAPINamespace[] = "webViewInternal";
17 17
18 // API error messages. 18 // API error messages.
19 const char kAPILoadDataInvalidDataURL[] = "Invalid data URL \"%s\"."; 19 const char kAPILoadDataInvalidDataURL[] = "Invalid data URL \"%s\".";
20 const char kAPILoadDataInvalidBaseURL[] = "Invalid base URL \"%s\"."; 20 const char kAPILoadDataInvalidBaseURL[] = "Invalid base URL \"%s\".";
21 const char kAPILoadDataInvalidVirtualURL[] = "Invalid virtual URL \"%s\"."; 21 const char kAPILoadDataInvalidVirtualURL[] = "Invalid virtual URL \"%s\".";
22 22
23 // Events. 23 // Events.
24 const char kEventClose[] = "webViewInternal.onClose"; 24 const char kEventClose[] = "webViewInternal.onClose";
25 const char kEventConsoleMessage[] = "webViewInternal.onConsoleMessage"; 25 const char kEventConsoleMessage[] = "webViewInternal.onConsoleMessage";
26 const char kEventContentLoad[] = "webViewInternal.onContentLoad"; 26 const char kEventContentLoad[] = "webViewInternal.onContentLoad";
27 const char kEventContextMenu[] = "chromeWebViewInternal.contextmenu"; 27 const char kEventContextMenu[] = "chromeWebViewInternal.contextmenu";
28 const char kEventDialog[] = "webViewInternal.onDialog"; 28 const char kEventDialog[] = "webViewInternal.onDialog";
29 const char kEventDropLink[] = "webViewInternal.onDropLink";
29 const char kEventExit[] = "webViewInternal.onExit"; 30 const char kEventExit[] = "webViewInternal.onExit";
30 const char kEventFindReply[] = "webViewInternal.onFindReply"; 31 const char kEventFindReply[] = "webViewInternal.onFindReply";
31 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged"; 32 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged";
32 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort"; 33 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort";
33 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit"; 34 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit";
34 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress"; 35 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress";
35 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect"; 36 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect";
36 const char kEventLoadStart[] = "webViewInternal.onLoadStart"; 37 const char kEventLoadStart[] = "webViewInternal.onLoadStart";
37 const char kEventLoadStop[] = "webViewInternal.onLoadStop"; 38 const char kEventLoadStop[] = "webViewInternal.onLoadStop";
38 const char kEventMessage[] = "webViewInternal.onMessage"; 39 const char kEventMessage[] = "webViewInternal.onMessage";
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 108
108 // Miscellaneous. 109 // Miscellaneous.
109 const char kMenuItemCommandId[] = "commandId"; 110 const char kMenuItemCommandId[] = "commandId";
110 const char kMenuItemLabel[] = "label"; 111 const char kMenuItemLabel[] = "label";
111 const char kPersistPrefix[] = "persist:"; 112 const char kPersistPrefix[] = "persist:";
112 const char kStoragePartitionId[] = "partition"; 113 const char kStoragePartitionId[] = "partition";
113 const unsigned int kMaxOutstandingPermissionRequests = 1024; 114 const unsigned int kMaxOutstandingPermissionRequests = 1024;
114 const int kInvalidPermissionRequestID = 0; 115 const int kInvalidPermissionRequestID = 0;
115 116
116 } // namespace webview 117 } // namespace webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698