QUIC - cleanup changes to sync chromium tree with internal source.
[chromium-blink-merge.git] / ios / web / public / web_kit_constants.h
blob2577fc05d80a208dfd273e35223d5ec3988a706a
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef IOS_WEB_PUBLIC_WEB_KIT_CONSTANTS_H_
6 #define IOS_WEB_PUBLIC_WEB_KIT_CONSTANTS_H_
8 // This header defines missing symbols from WebKit.
9 // See WebKitErrors.h on Mac SDK.
11 namespace web {
13 // Indicates WebKit errors.
14 extern const char kWebKitErrorDomain[];
16 // MIME type is not supported.
17 const long kWebKitErrorCannotShowMimeType = 100;
19 // Can not change location URL.
20 const long kWebKitErrorCannotShowUrl = 101;
22 // Frame load was interrupted by a policy change.
23 const long kWebKitErrorFrameLoadInterruptedByPolicyChange = 102;
25 // Undocumented iOS-specific WebKit error.
26 const long kWebKitErrorUnsafePort = 103;
27 const long kWebKitErrorPlugInLoadFailed = 204;
29 } // namespace web
31 #endif // IOS_WEB_PUBLIC_WEB_KIT_CONSTANTS_H_