Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Unified Diff: ios/chrome/browser/snapshots/snapshot_overlay_provider.h

Issue 2585233003: Upstream Chrome on iOS source code [2/11]. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « ios/chrome/browser/signin/signin_capability.cc ('k') | ios/chrome/browser/snapshots/web_controller_snapshot_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698