| Index: ios/chrome/browser/snapshots/snapshot_overlay_provider.h
|
| diff --git a/ios/chrome/browser/snapshots/snapshot_overlay_provider.h b/ios/chrome/browser/snapshots/snapshot_overlay_provider.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..199405d016e94a24ca2b0c349a69c38ac90f6c43
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/snapshots/snapshot_overlay_provider.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 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_SNAPSHOTS_SNAPSHOT_OVERLAY_PROVIDER_H_
|
| +#define IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_OVERLAY_PROVIDER_H_
|
| +
|
| +#import <UIKit/UIKit.h>
|
| +
|
| +@class Tab;
|
| +
|
| +@protocol SnapshotOverlayProvider<NSObject>
|
| +
|
| +// Returns an array of objects representing views (e.g. infobar, voice search
|
| +// button, etc.) currently overlayed. Overlayed views should be ordered so that
|
| +// the bottommost view is at the beginning of the array and the topmost view is
|
| +// at the end of the array.
|
| +- (NSArray*)snapshotOverlaysForTab:(Tab*)tab;
|
| +
|
| +@end
|
| +
|
| +#endif // IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_OVERLAY_PROVIDER_H_
|
|
|