blob: 14e85dd6f3969830871a8edd20850f7f238a695a [file] [log] [blame]
// Copyright 2017 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.
#ifndef IOS_WEB_VIEW_INTERNAL_CWV_NAVIGATION_TYPE_INTERNAL_H_
#define IOS_WEB_VIEW_INTERNAL_CWV_NAVIGATION_TYPE_INTERNAL_H_
#include "ios/web_view/public/cwv_navigation_type.h"
#include "ui/base/page_transition_types.h"
NS_ASSUME_NONNULL_BEGIN
// Converts ui::PageTransition to CWVNavigationType.
CWVNavigationType CWVNavigationTypeFromPageTransition(
ui::PageTransition ui_page_transition);
NS_ASSUME_NONNULL_END
#endif // IOS_WEB_VIEW_INTERNAL_CWV_NAVIGATION_TYPE_INTERNAL_H_