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

Side by Side Diff: content/common/browser_plugin/browser_plugin_constants.cc

Issue 19679002: <webview>: Implement dialog API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added more tests and fixed a bug Created 7 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/common/browser_plugin/browser_plugin_constants.h" 5 #include "content/common/browser_plugin/browser_plugin_constants.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 namespace browser_plugin { 9 namespace browser_plugin {
10 10
(...skipping 25 matching lines...) Expand all
36 const char kAttributeContentWindow[] = "contentWindow"; 36 const char kAttributeContentWindow[] = "contentWindow";
37 const char kAttributeMaxHeight[] = "maxheight"; 37 const char kAttributeMaxHeight[] = "maxheight";
38 const char kAttributeMaxWidth[] = "maxwidth"; 38 const char kAttributeMaxWidth[] = "maxwidth";
39 const char kAttributeMinHeight[] = "minheight"; 39 const char kAttributeMinHeight[] = "minheight";
40 const char kAttributeMinWidth[] = "minwidth"; 40 const char kAttributeMinWidth[] = "minwidth";
41 const char kAttributeName[] = "name"; 41 const char kAttributeName[] = "name";
42 const char kAttributePartition[] = "partition"; 42 const char kAttributePartition[] = "partition";
43 const char kAttributeSrc[] = "src"; 43 const char kAttributeSrc[] = "src";
44 44
45 // Events. 45 // Events.
46 const char kEventDialog[] = "dialog";
46 const char kEventNewWindow[] = "newwindow"; 47 const char kEventNewWindow[] = "newwindow";
47 const char kEventRequestPermission[] = "permissionrequest"; 48 const char kEventRequestPermission[] = "permissionrequest";
48 const char kEventResponsive[] = "responsive"; 49 const char kEventResponsive[] = "responsive";
49 const char kEventSizeChanged[] = "sizechanged"; 50 const char kEventSizeChanged[] = "sizechanged";
50 const char kEventUnresponsive[] = "unresponsive"; 51 const char kEventUnresponsive[] = "unresponsive";
51 52
52 // Parameters/properties on events. 53 // Parameters/properties on events.
54 const char kDefaultPromptText[] = "defaultPromptText";
53 const char kId[] = "id"; 55 const char kId[] = "id";
54 const char kInitialHeight[] = "initialHeight"; 56 const char kInitialHeight[] = "initialHeight";
55 const char kInitialWidth[] = "initialWidth"; 57 const char kInitialWidth[] = "initialWidth";
56 const char kIsTopLevel[] = "isTopLevel"; 58 const char kIsTopLevel[] = "isTopLevel";
57 const char kLastUnlockedBySelf[] = "lastUnlockedBySelf"; 59 const char kLastUnlockedBySelf[] = "lastUnlockedBySelf";
60 const char kMessageText[] = "messageText";
61 const char kMessageType[] = "messageType";
58 const char kName[] = "name"; 62 const char kName[] = "name";
59 const char kNewHeight[] = "newHeight"; 63 const char kNewHeight[] = "newHeight";
60 const char kNewWidth[] = "newWidth"; 64 const char kNewWidth[] = "newWidth";
61 const char kOldHeight[] = "oldHeight"; 65 const char kOldHeight[] = "oldHeight";
62 const char kOldWidth[] = "oldWidth"; 66 const char kOldWidth[] = "oldWidth";
63 const char kPermission[] = "permission"; 67 const char kPermission[] = "permission";
64 const char kPermissionTypeDownload[] = "download"; 68 const char kPermissionTypeDownload[] = "download";
65 const char kPermissionTypeGeolocation[] = "geolocation"; 69 const char kPermissionTypeGeolocation[] = "geolocation";
66 const char kPermissionTypeMedia[] = "media"; 70 const char kPermissionTypeMedia[] = "media";
67 const char kPermissionTypeNewWindow[] = "newwindow"; 71 const char kPermissionTypeNewWindow[] = "newwindow";
(...skipping 16 matching lines...) Expand all
84 const char kErrorCannotRemovePartition[] = 88 const char kErrorCannotRemovePartition[] =
85 "Cannot remove partition attribute after navigating."; 89 "Cannot remove partition attribute after navigating.";
86 90
87 // Other. 91 // Other.
88 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; 92 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager";
89 const int kInstanceIDNone = 0; 93 const int kInstanceIDNone = 0;
90 94
91 } // namespace browser_plugin 95 } // namespace browser_plugin
92 96
93 } // namespace content 97 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698