Commit c235d74f authored by Yi Su's avatar Yi Su Committed by Commit Bot

Move web_kit_constants.* into //ios/web/navigation.

This CL moves web_kit_constants.* into //ios/web/navigation.

Bug: 956511
Change-Id: If4f9e93f7a138577c9719443e7a953beb1b84410
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1631372Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Commit-Queue: Yi Su <mrsuyi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#663840}
parent 7930c989
......@@ -586,6 +586,7 @@ test("ios_web_inttests") {
"//ios/web/common",
"//ios/web/download:download_inttests",
"//ios/web/js_messaging:inttests",
"//ios/web/navigation",
"//ios/web/navigation:core",
"//ios/web/navigation:wk_navigation_util",
"//ios/web/public/find_in_page",
......
......@@ -60,6 +60,8 @@ source_set("navigation") {
"session_storage_builder.mm",
"time_smoother.cc",
"time_smoother.h",
"web_kit_constants.cc",
"web_kit_constants.h",
"wk_back_forward_list_item_holder.h",
"wk_back_forward_list_item_holder.mm",
"wk_based_navigation_manager_impl.h",
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ios/web/web_state/ui/web_kit_constants.h"
#include "ios/web/navigation/web_kit_constants.h"
namespace web {
......
......@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_WEB_WEB_STATE_UI_WEB_KIT_CONSTANTS_H_
#define IOS_WEB_WEB_STATE_UI_WEB_KIT_CONSTANTS_H_
#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.
......@@ -27,4 +27,4 @@ const long kWebKitErrorPlugInLoadFailed = 204;
} // namespace web
#endif // IOS_WEB_WEB_STATE_UI_WEB_KIT_CONSTANTS_H_
#endif // IOS_WEB_NAVIGATION_WEB_KIT_CONSTANTS_H_
......@@ -60,8 +60,6 @@ source_set("ui") {
"crw_wk_ui_handler.h",
"crw_wk_ui_handler.mm",
"crw_wk_ui_handler_delegate.h",
"web_kit_constants.cc",
"web_kit_constants.h",
"wk_security_origin_util.h",
"wk_security_origin_util.mm",
]
......
......@@ -61,6 +61,7 @@
#import "ios/web/navigation/navigation_item_impl.h"
#import "ios/web/navigation/navigation_manager_impl.h"
#include "ios/web/navigation/navigation_manager_util.h"
#include "ios/web/navigation/web_kit_constants.h"
#import "ios/web/navigation/wk_back_forward_list_item_holder.h"
#import "ios/web/navigation/wk_navigation_action_policy_util.h"
#import "ios/web/navigation/wk_navigation_action_util.h"
......@@ -108,7 +109,6 @@
#import "ios/web/web_state/ui/crw_wk_ui_handler.h"
#import "ios/web/web_state/ui/crw_wk_ui_handler_delegate.h"
#import "ios/web/web_state/ui/favicon_util.h"
#include "ios/web/web_state/ui/web_kit_constants.h"
#import "ios/web/web_state/ui/wk_security_origin_util.h"
#import "ios/web/web_state/ui/wk_web_view_configuration_provider.h"
#import "ios/web/web_state/user_interaction_state.h"
......
......@@ -17,6 +17,7 @@
#include "base/test/scoped_feature_list.h"
#include "ios/testing/embedded_test_server_handlers.h"
#include "ios/web/common/features.h"
#include "ios/web/navigation/web_kit_constants.h"
#include "ios/web/navigation/wk_navigation_util.h"
#import "ios/web/public/navigation_item.h"
#import "ios/web/public/navigation_manager.h"
......@@ -36,7 +37,6 @@
#include "ios/web/test/test_url_constants.h"
#import "ios/web/test/web_int_test.h"
#import "ios/web/web_state/ui/crw_web_controller.h"
#include "ios/web/web_state/ui/web_kit_constants.h"
#import "ios/web/web_state/web_state_impl.h"
#import "net/base/mac/url_conversions.h"
#include "net/http/http_response_headers.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment