OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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_TABS_TAB_SNAPSHOTTING_DELEGATE_H_ |
| 6 #define IOS_CHROME_BROWSER_TABS_TAB_SNAPSHOTTING_DELEGATE_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 @class Tab; |
| 11 |
| 12 // A protocol implemented by a snapshotting delegate of Tab. |
| 13 @protocol TabSnapshottingDelegate |
| 14 |
| 15 // Returns the rect (in the |tab.webController.view|'s coordinate space) that is |
| 16 // used to render the page's content. |
| 17 - (CGRect)snapshotContentAreaForTab:(Tab*)tab; |
| 18 |
| 19 @end |
| 20 |
| 21 #endif // IOS_CHROME_BROWSER_TABS_TAB_SNAPSHOTTING_DELEGATE_H_ |
OLD | NEW |