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

Side by Side Diff: ios/clean/chrome/browser/ui/web_contents/overlays/web_overlay_scheduler.h

Issue 2921833002: [iOS Clean] Created OverlayService.
Patch Set: self review Created 3 years, 6 months 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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_CLEAN_CHROME_BROWSER_UI_WEB_CONTENTS_OVERLAYS_WEB_OVERLAY_SCHEDULER_ H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTENTS_OVERLAYS_WEB_OVERLAY_SCHEDULER_ H_
7
8 #include <Foundation/Foundation.h>
9
10 #import "ios/clean/chrome/browser/ui/commands/web_overlay_commands.h"
11
12 @protocol TabGridCommands;
13
14 // An object that manages displaying a WebState's content view before starting
15 // an overlay from its WebOverlayQueue.
16 @interface WebOverlayScheduler : NSObject<WebOverlaySchedulerCommands>
17
18 // Designated initializer for a WebOverlayScheduler that uses |dispatcher| to
19 // switch the foreground tab and present overlays.
20 - (instancetype)initWithDispatcher:
21 (id<TabGridCommands, WebOverlayPresentationCommands>)dispatcher
22 NS_DESIGNATED_INITIALIZER;
23 - (instancetype)init NS_UNAVAILABLE;
24
25 @end
26
27 #endif // IOS_CLEAN_CHROME_BROWSER_UI_WEB_CONTENTS_OVERLAYS_WEB_OVERLAY_SCHEDUL ER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698