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

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

Issue 541753004: Split web_view_internal_api and move part of it to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 6 years, 3 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 kAttributeAutoSize[] = "autosize"; 10 const char kAttributeAutoSize[] = "autosize";
11 const char kAttributeMaxHeight[] = "maxheight"; 11 const char kAttributeMaxHeight[] = "maxheight";
12 const char kAttributeMaxWidth[] = "maxwidth"; 12 const char kAttributeMaxWidth[] = "maxwidth";
13 const char kAttributeMinHeight[] = "minheight"; 13 const char kAttributeMinHeight[] = "minheight";
14 const char kAttributeMinWidth[] = "minwidth"; 14 const char kAttributeMinWidth[] = "minwidth";
15 15
16 // API namespace. 16 // API namespace.
17 const char kAPINamespace[] = "webViewInternal"; 17 const char kAPINamespace[] = "webViewInternal";
18 18
19 // Events. 19 // Events.
20 const char kEventClose[] = "webViewInternal.onClose"; 20 const char kEventClose[] = "webViewInternal.onClose";
21 const char kEventConsoleMessage[] = "webViewInternal.onConsoleMessage"; 21 const char kEventConsoleMessage[] = "webViewInternal.onConsoleMessage";
22 const char kEventContentLoad[] = "webViewInternal.onContentLoad"; 22 const char kEventContentLoad[] = "webViewInternal.onContentLoad";
23 const char kEventContextMenu[] = "webViewInternal.contextmenu"; 23 const char kEventContextMenu[] = "chromeWebViewInternal.contextmenu";
24 const char kEventDialog[] = "webViewInternal.onDialog"; 24 const char kEventDialog[] = "webViewInternal.onDialog";
25 const char kEventExit[] = "webViewInternal.onExit"; 25 const char kEventExit[] = "webViewInternal.onExit";
26 const char kEventFindReply[] = "webViewInternal.onFindReply"; 26 const char kEventFindReply[] = "webViewInternal.onFindReply";
27 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged"; 27 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged";
28 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort"; 28 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort";
29 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit"; 29 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit";
30 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress"; 30 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress";
31 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect"; 31 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect";
32 const char kEventLoadStart[] = "webViewInternal.onLoadStart"; 32 const char kEventLoadStart[] = "webViewInternal.onLoadStart";
33 const char kEventLoadStop[] = "webViewInternal.onLoadStop"; 33 const char kEventLoadStop[] = "webViewInternal.onLoadStop";
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 // Miscellaneous. 104 // Miscellaneous.
105 const char kMenuItemCommandId[] = "commandId"; 105 const char kMenuItemCommandId[] = "commandId";
106 const char kMenuItemLabel[] = "label"; 106 const char kMenuItemLabel[] = "label";
107 const char kPersistPrefix[] = "persist:"; 107 const char kPersistPrefix[] = "persist:";
108 const char kStoragePartitionId[] = "storagePartitionId"; 108 const char kStoragePartitionId[] = "storagePartitionId";
109 const unsigned int kMaxOutstandingPermissionRequests = 1024; 109 const unsigned int kMaxOutstandingPermissionRequests = 1024;
110 const int kInvalidPermissionRequestID = 0; 110 const int kInvalidPermissionRequestID = 0;
111 111
112 } // namespace webview 112 } // namespace webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698