blob: a795c3be62320b221d9ab0c285e12f3c4c1f3cc0 [file] [log] [blame]
// Copyright 2013 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_SETTINGS_SETTINGS_UTILS_H_
#define IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_UTILS_H_
#import <UIKit/UIKit.h>
#import "ios/chrome/browser/procedural_block_types.h"
@protocol ApplicationCommands;
// Returns a ProceduralBlockWithURL that uses the dispatcher and opens url
// (parameter to the block) in a new tab.
ProceduralBlockWithURL BlockToOpenURL(UIResponder* responder,
id<ApplicationCommands> dispatcher);
#endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_UTILS_H_