blob: d52f4c6a075995f3234da7a9d52e632532c87f64 [file] [log] [blame]
// Copyright 2018 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_CHROME_BROWSER_UI_NTP_NTP_UTIL_H_
#define IOS_CHROME_BROWSER_UI_NTP_NTP_UTIL_H_
#import "ios/web/public/web_state/web_state.h"
// Returns whether the |web_state| is currently having the NewTabPage url as
// visible URL.
bool IsVisibleUrlNewTabPage(web::WebState* web_state);
#endif // IOS_CHROME_BROWSER_UI_NTP_NTP_UTIL_H_