blob: 4eef3d5b41ebf22313b2158c13846d765b0b763a [file] [log] [blame]
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_WEB_NAVIGATION_WEB_KIT_CONSTANTS_H_
#define IOS_WEB_NAVIGATION_WEB_KIT_CONSTANTS_H_
// This header defines missing symbols from WebKit.
// See WebKitErrors.h on Mac SDK.
namespace web {
// Indicates WebKit errors.
extern const char kWebKitErrorDomain[];
// Can not change location URL.
const long kWebKitErrorCannotShowUrl = 101;
// Frame load was interrupted by a policy change (f.e. by rejecting the load in
// decidePolicyForNavigationAction: or decidePolicyForNavigationResponse:
// WKNavigationDelegate callback).
const long kWebKitErrorFrameLoadInterruptedByPolicyChange = 102;
// Undocumented iOS-specific WebKit error.
const long kWebKitErrorUrlBlockedByContentFilter = 105;
const long kWebKitErrorPlugInLoadFailed = 204;
} // namespace web
#endif // IOS_WEB_NAVIGATION_WEB_KIT_CONSTANTS_H_