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

Side by Side Diff: chrome/browser/guest_view/web_view/web_view_constants.h

Issue 426593007: Refactor guest view availability to be API not permission based. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MostLikelyContextType Created 6 years, 4 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 | Annotate | Revision Log
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 // Constants used for the WebView API. 5 // Constants used for the WebView API.
6 6
7 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ 7 #ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_
8 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ 8 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_
9 9
10 namespace webview { 10 namespace webview {
11 11
12 // Attributes. 12 // Attributes.
13 extern const char kAttributeAutoSize[]; 13 extern const char kAttributeAutoSize[];
14 extern const char kAttributeMaxHeight[]; 14 extern const char kAttributeMaxHeight[];
15 extern const char kAttributeMaxWidth[]; 15 extern const char kAttributeMaxWidth[];
16 extern const char kAttributeMinHeight[]; 16 extern const char kAttributeMinHeight[];
17 extern const char kAttributeMinWidth[]; 17 extern const char kAttributeMinWidth[];
18 18
19 // API namespace.
20 // TODO(kalman): Consolidate this with the other API constants.
21 extern const char kAPINamespace[];
22
19 // Events. 23 // Events.
20 extern const char kEventClose[]; 24 extern const char kEventClose[];
21 extern const char kEventConsoleMessage[]; 25 extern const char kEventConsoleMessage[];
22 extern const char kEventContentLoad[]; 26 extern const char kEventContentLoad[];
23 extern const char kEventContextMenu[]; 27 extern const char kEventContextMenu[];
24 extern const char kEventDialog[]; 28 extern const char kEventDialog[];
25 extern const char kEventExit[]; 29 extern const char kEventExit[];
26 extern const char kEventFindReply[]; 30 extern const char kEventFindReply[];
27 extern const char kEventFrameNameChanged[]; 31 extern const char kEventFrameNameChanged[];
28 extern const char kEventLoadAbort[]; 32 extern const char kEventLoadAbort[];
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 extern const char kMenuItemCommandId[]; 109 extern const char kMenuItemCommandId[];
106 extern const char kMenuItemLabel[]; 110 extern const char kMenuItemLabel[];
107 extern const char kPersistPrefix[]; 111 extern const char kPersistPrefix[];
108 extern const char kStoragePartitionId[]; 112 extern const char kStoragePartitionId[];
109 extern const unsigned int kMaxOutstandingPermissionRequests; 113 extern const unsigned int kMaxOutstandingPermissionRequests;
110 extern const int kInvalidPermissionRequestID; 114 extern const int kInvalidPermissionRequestID;
111 115
112 } // namespace webview 116 } // namespace webview
113 117
114 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ 118 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/guest_view/guest_view_manager.cc ('k') | chrome/browser/guest_view/web_view/web_view_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698