diff options
Diffstat (limited to 'chrome/browser/guest_view/web_view/web_view_constants.h')
-rw-r--r-- | chrome/browser/guest_view/web_view/web_view_constants.h | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/chrome/browser/guest_view/web_view/web_view_constants.h b/chrome/browser/guest_view/web_view/web_view_constants.h new file mode 100644 index 0000000..ff50895 --- /dev/null +++ b/chrome/browser/guest_view/web_view/web_view_constants.h @@ -0,0 +1,89 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Constants used for the WebView API. + +#ifndef CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ +#define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ + +namespace webview { + +// Events. +extern const char kEventClose[]; +extern const char kEventConsoleMessage[]; +extern const char kEventContentLoad[]; +extern const char kEventDialog[]; +extern const char kEventExit[]; +extern const char kEventFindReply[]; +extern const char kEventLoadAbort[]; +extern const char kEventLoadCommit[]; +extern const char kEventLoadProgress[]; +extern const char kEventLoadRedirect[]; +extern const char kEventLoadStart[]; +extern const char kEventLoadStop[]; +extern const char kEventNewWindow[]; +extern const char kEventPermissionRequest[]; +extern const char kEventResponsive[]; +extern const char kEventSizeChanged[]; +extern const char kEventUnresponsive[]; +extern const char kEventZoomChange[]; + +// Parameters/properties on events. +extern const char kDefaultPromptText[]; +extern const char kFindSearchText[]; +extern const char kFindFinalUpdate[]; +extern const char kLastUnlockedBySelf[]; +extern const char kLevel[]; +extern const char kLine[]; +extern const char kMessage[]; +extern const char kMessageText[]; +extern const char kMessageType[]; +extern const char kNewHeight[]; +extern const char kNewURL[]; +extern const char kNewWidth[]; +extern const char kOldHeight[]; +extern const char kOldURL[]; +extern const char kPermission[]; +extern const char kPermissionTypeDialog[]; +extern const char kPermissionTypeDownload[]; +extern const char kPermissionTypeGeolocation[]; +extern const char kPermissionTypeLoadPlugin[]; +extern const char kPermissionTypeMedia[]; +extern const char kPermissionTypeNewWindow[]; +extern const char kPermissionTypePointerLock[]; +extern const char kOldWidth[]; +extern const char kProcessId[]; +extern const char kProgress[]; +extern const char kReason[]; +extern const char kRequestId[]; +extern const char kSourceId[]; +extern const char kOldZoomFactor[]; +extern const char kNewZoomFactor[]; + +// Internal parameters/properties on events. +extern const char kInternalCurrentEntryIndex[]; +extern const char kInternalEntryCount[]; +extern const char kInternalProcessId[]; + +// Parameters to callback functions. +extern const char kFindNumberOfMatches[]; +extern const char kFindActiveMatchOrdinal[]; +extern const char kFindSelectionRect[]; +extern const char kFindRectLeft[]; +extern const char kFindRectTop[]; +extern const char kFindRectWidth[]; +extern const char kFindRectHeight[]; +extern const char kFindCanceled[]; +extern const char kFindDone[]; + +// Initialization parameters. +extern const char kParameterUserAgentOverride[]; + +// Miscellaneous. +extern const unsigned int kMaxOutstandingPermissionRequests; +extern const int kInvalidPermissionRequestID; + +} // namespace webview + +#endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_CONSTANTS_H_ |