OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_OVERLAY_PROVIDER_H_ |
| 6 #define IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_OVERLAY_PROVIDER_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 @class Tab; |
| 11 |
| 12 @protocol SnapshotOverlayProvider<NSObject> |
| 13 |
| 14 // Returns an array of objects representing views (e.g. infobar, voice search |
| 15 // button, etc.) currently overlayed. Overlayed views should be ordered so that |
| 16 // the bottommost view is at the beginning of the array and the topmost view is |
| 17 // at the end of the array. |
| 18 - (NSArray*)snapshotOverlaysForTab:(Tab*)tab; |
| 19 |
| 20 @end |
| 21 |
| 22 #endif // IOS_CHROME_BROWSER_SNAPSHOTS_SNAPSHOT_OVERLAY_PROVIDER_H_ |
OLD | NEW |