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

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

Issue 618823002: GuestView: Move lifetime management out of content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comment Created 6 years, 2 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";
(...skipping 24 matching lines...) Expand all
35 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged"; 35 const char kEventFrameNameChanged[] = "webViewInternal.onFrameNameChanged";
36 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort"; 36 const char kEventLoadAbort[] = "webViewInternal.onLoadAbort";
37 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit"; 37 const char kEventLoadCommit[] = "webViewInternal.onLoadCommit";
38 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress"; 38 const char kEventLoadProgress[] = "webViewInternal.onLoadProgress";
39 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect"; 39 const char kEventLoadRedirect[] = "webViewInternal.onLoadRedirect";
40 const char kEventLoadStart[] = "webViewInternal.onLoadStart"; 40 const char kEventLoadStart[] = "webViewInternal.onLoadStart";
41 const char kEventLoadStop[] = "webViewInternal.onLoadStop"; 41 const char kEventLoadStop[] = "webViewInternal.onLoadStop";
42 const char kEventMessage[] = "webViewInternal.onMessage"; 42 const char kEventMessage[] = "webViewInternal.onMessage";
43 const char kEventNewWindow[] = "webViewInternal.onNewWindow"; 43 const char kEventNewWindow[] = "webViewInternal.onNewWindow";
44 const char kEventPermissionRequest[] = "webViewInternal.onPermissionRequest"; 44 const char kEventPermissionRequest[] = "webViewInternal.onPermissionRequest";
45 const char kEventPluginDestroyed[] = "webViewInternal.onPluginDestroyed";
46 const char kEventResponsive[] = "webViewInternal.onResponsive"; 45 const char kEventResponsive[] = "webViewInternal.onResponsive";
47 const char kEventSizeChanged[] = "webViewInternal.onSizeChanged"; 46 const char kEventSizeChanged[] = "webViewInternal.onSizeChanged";
48 const char kEventUnresponsive[] = "webViewInternal.onUnresponsive"; 47 const char kEventUnresponsive[] = "webViewInternal.onUnresponsive";
49 const char kEventZoomChange[] = "webViewInternal.onZoomChange"; 48 const char kEventZoomChange[] = "webViewInternal.onZoomChange";
50 49
51 // Event related constants. 50 // Event related constants.
52 const char kWebViewEventPrefix[] = "webViewInternal."; 51 const char kWebViewEventPrefix[] = "webViewInternal.";
53 52
54 // Parameters/properties on events. 53 // Parameters/properties on events.
55 const char kContextMenuItems[] = "items"; 54 const char kContextMenuItems[] = "items";
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 111
113 // Miscellaneous. 112 // Miscellaneous.
114 const char kMenuItemCommandId[] = "commandId"; 113 const char kMenuItemCommandId[] = "commandId";
115 const char kMenuItemLabel[] = "label"; 114 const char kMenuItemLabel[] = "label";
116 const char kPersistPrefix[] = "persist:"; 115 const char kPersistPrefix[] = "persist:";
117 const char kStoragePartitionId[] = "storagePartitionId"; 116 const char kStoragePartitionId[] = "storagePartitionId";
118 const unsigned int kMaxOutstandingPermissionRequests = 1024; 117 const unsigned int kMaxOutstandingPermissionRequests = 1024;
119 const int kInvalidPermissionRequestID = 0; 118 const int kInvalidPermissionRequestID = 0;
120 119
121 } // namespace webview 120 } // namespace webview
OLDNEW
« no previous file with comments | « extensions/browser/guest_view/web_view/web_view_constants.h ('k') | extensions/browser/guest_view/web_view/web_view_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698