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

Side by Side Diff: ios/chrome/browser/tabs/tab_dialog_delegate.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 unified diff | Download patch
« no previous file with comments | « ios/chrome/browser/tabs/tab_delegate.h ('k') | ios/chrome/browser/tabs/tab_loading_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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_DIALOG_DELEGATE_H_
6 #define IOS_CHROME_BROWSER_TABS_TAB_DIALOG_DELEGATE_H_
7
8 @class Tab;
9
10 // A protocol delegating the display of dialogs for a Tab.
11 @protocol TabDialogDelegate
12
13 // Displays an HTTP authentication dialog. |completionHandler| should be called
14 // with non nil |username| and |password| in order to proceed with
15 // authentication.
16 - (void)tab:(Tab*)tab
17 runAuthDialogForProtectionSpace:(NSURLProtectionSpace*)protectionSpace
18 proposedCredential:(NSURLCredential*)credential
19 completionHandler:
20 (void (^)(NSString* user, NSString* password))handler;
21
22 // Called by Tabs to cancel a previously-requested dialog.
23 - (void)cancelDialogForTab:(Tab*)tab;
24
25 @end
26
27 #endif // IOS_CHROME_BROWSER_TABS_TAB_DIALOG_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/tabs/tab_delegate.h ('k') | ios/chrome/browser/tabs/tab_loading_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698