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

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

Issue 17165004: <webview>: Partially migrate loadcommit event from content to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT Created 7 years, 6 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 (c) 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
11 // Method bindings. 11 // Method bindings.
12 const char kMethodBack[] = "back"; 12 const char kMethodBack[] = "back";
13 const char kMethodCanGoBack[] = "canGoBack"; 13 const char kMethodCanGoBack[] = "canGoBack";
14 const char kMethodCanGoForward[] = "canGoForward"; 14 const char kMethodCanGoForward[] = "canGoForward";
15 const char kMethodForward[] = "forward"; 15 const char kMethodForward[] = "forward";
16 const char kMethodGetInstanceId[] = "getInstanceId"; 16 const char kMethodGetInstanceId[] = "getInstanceId";
17 const char kMethodGetGuestInstanceId[] = "getGuestInstanceId"; 17 const char kMethodGetGuestInstanceId[] = "getGuestInstanceId";
18 const char kMethodGo[] = "go"; 18 const char kMethodGo[] = "go";
19 const char kMethodReload[] = "reload"; 19 const char kMethodReload[] = "reload";
20 const char kMethodStop[] = "stop"; 20 const char kMethodStop[] = "stop";
21 const char kMethodTerminate[] = "terminate"; 21 const char kMethodTerminate[] = "terminate";
22 22
23 // Internal method bindings. 23 // Internal method bindings.
24 const char kMethodInternalAttachWindowTo[] = "-internal-attachWindowTo"; 24 const char kMethodInternalAttachWindowTo[] = "-internal-attachWindowTo";
25 const char kMethodInternalPersistObject[] = "-internal-persistObject"; 25 const char kMethodInternalPersistObject[] = "-internal-persistObject";
26 const char kMethodInternalSetPermission[] = "-internal-setPermission"; 26 const char kMethodInternalSetPermission[] = "-internal-setPermission";
27 27
28 // Internal events.
29 const char kEventInternalAttached[] = "attached";
30
28 // Attributes. 31 // Attributes.
29 const char kAttributeApi[] = "api"; 32 const char kAttributeApi[] = "api";
30 const char kAttributeAutoSize[] = "autosize"; 33 const char kAttributeAutoSize[] = "autosize";
31 const char kAttributeContentWindow[] = "contentWindow"; 34 const char kAttributeContentWindow[] = "contentWindow";
32 const char kAttributeMaxHeight[] = "maxheight"; 35 const char kAttributeMaxHeight[] = "maxheight";
33 const char kAttributeMaxWidth[] = "maxwidth"; 36 const char kAttributeMaxWidth[] = "maxwidth";
34 const char kAttributeMinHeight[] = "minheight"; 37 const char kAttributeMinHeight[] = "minheight";
35 const char kAttributeMinWidth[] = "minwidth"; 38 const char kAttributeMinWidth[] = "minwidth";
36 const char kAttributeName[] = "name"; 39 const char kAttributeName[] = "name";
37 const char kAttributePartition[] = "partition"; 40 const char kAttributePartition[] = "partition";
38 const char kAttributeSrc[] = "src"; 41 const char kAttributeSrc[] = "src";
39 42
40 // Events. 43 // Events.
41 const char kEventClose[] = "close"; 44 const char kEventClose[] = "close";
42 const char kEventConsoleMessage[] = "consolemessage"; 45 const char kEventConsoleMessage[] = "consolemessage";
43 const char kEventContentLoad[] = "contentload"; 46 const char kEventContentLoad[] = "contentload";
44 const char kEventExit[] = "exit"; 47 const char kEventExit[] = "exit";
45 const char kEventLoadAbort[] = "loadabort"; 48 const char kEventLoadAbort[] = "loadabort";
46 const char kEventLoadCommit[] = "loadcommit";
47 const char kEventLoadRedirect[] = "loadredirect"; 49 const char kEventLoadRedirect[] = "loadredirect";
48 const char kEventLoadStart[] = "loadstart"; 50 const char kEventLoadStart[] = "loadstart";
49 const char kEventLoadStop[] = "loadstop"; 51 const char kEventLoadStop[] = "loadstop";
50 const char kEventNewWindow[] = "newwindow"; 52 const char kEventNewWindow[] = "newwindow";
51 const char kEventRequestPermission[] = "permissionrequest"; 53 const char kEventRequestPermission[] = "permissionrequest";
52 const char kEventResponsive[] = "responsive"; 54 const char kEventResponsive[] = "responsive";
53 const char kEventSizeChanged[] = "sizechanged"; 55 const char kEventSizeChanged[] = "sizechanged";
54 const char kEventUnresponsive[] = "unresponsive"; 56 const char kEventUnresponsive[] = "unresponsive";
55 57
56 // Parameters/properties on events. 58 // Parameters/properties on events.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const char kErrorCannotRemovePartition[] = 96 const char kErrorCannotRemovePartition[] =
95 "Cannot remove partition attribute after navigating."; 97 "Cannot remove partition attribute after navigating.";
96 98
97 // Other. 99 // Other.
98 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager"; 100 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager";
99 const int kInstanceIDNone = 0; 101 const int kInstanceIDNone = 0;
100 102
101 } // namespace browser_plugin 103 } // namespace browser_plugin
102 104
103 } // namespace content 105 } // namespace content
OLDNEW
« no previous file with comments | « content/common/browser_plugin/browser_plugin_constants.h ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698