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

Side by Side Diff: ios/web/public/web_state/ui/crw_web_delegate.h

Issue 2710913006: Removed -[CRWWebDelegate webController:titleDidChange:]. (Closed)
Patch Set: Rebased Created 3 years, 9 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
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ 5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_
6 #define IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ 6 #define IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #import <UIKit/UIKit.h> 9 #import <UIKit/UIKit.h>
10 #include <vector> 10 #include <vector>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 - (BOOL)urlTriggersNativeAppLaunch:(const GURL&)URL 118 - (BOOL)urlTriggersNativeAppLaunch:(const GURL&)URL
119 sourceURL:(const GURL&)sourceURL 119 sourceURL:(const GURL&)sourceURL
120 linkClicked:(BOOL)linkClicked; 120 linkClicked:(BOOL)linkClicked;
121 121
122 // Called to ask the delegate for a controller to display the given url, 122 // Called to ask the delegate for a controller to display the given url,
123 // which contained content that the UIWebView couldn't display. Returns 123 // which contained content that the UIWebView couldn't display. Returns
124 // the native controller to display if the delegate can handle the url, 124 // the native controller to display if the delegate can handle the url,
125 // or nil otherwise. 125 // or nil otherwise.
126 - (id<CRWNativeContent>)controllerForUnhandledContentAtURL:(const GURL&)url; 126 - (id<CRWNativeContent>)controllerForUnhandledContentAtURL:(const GURL&)url;
127 127
128 // Called when the page supplies a new title.
129 - (void)webController:(CRWWebController*)webController
130 titleDidChange:(NSString*)title;
131
132 // Called when CRWWebController did suppress a dialog (JavaScript, HTTP 128 // Called when CRWWebController did suppress a dialog (JavaScript, HTTP
133 // authentication or window.open). 129 // authentication or window.open).
134 // NOTE: Called only if CRWWebController.shouldSuppressDialogs is set to YES. 130 // NOTE: Called only if CRWWebController.shouldSuppressDialogs is set to YES.
135 - (void)webControllerDidSuppressDialog:(CRWWebController*)webController; 131 - (void)webControllerDidSuppressDialog:(CRWWebController*)webController;
136 132
137 // Called to retrieve the height of any header that is overlaying on top of the 133 // Called to retrieve the height of any header that is overlaying on top of the
138 // web view. This can be used to implement, for e.g. a toolbar that changes 134 // web view. This can be used to implement, for e.g. a toolbar that changes
139 // height dynamically. Returning a non-zero height affects the visible frame 135 // height dynamically. Returning a non-zero height affects the visible frame
140 // shown by the CRWWebController. 0.0 is assumed if not implemented. 136 // shown by the CRWWebController. 0.0 is assumed if not implemented.
141 - (CGFloat)headerHeightForWebController:(CRWWebController*)webController; 137 - (CGFloat)headerHeightForWebController:(CRWWebController*)webController;
142 138
143 // Called when CRWWebController updated the SSL status for the current 139 // Called when CRWWebController updated the SSL status for the current
144 // NagivationItem. 140 // NagivationItem.
145 - (void)webControllerDidUpdateSSLStatusForCurrentNavigationItem: 141 - (void)webControllerDidUpdateSSLStatusForCurrentNavigationItem:
146 (CRWWebController*)webController; 142 (CRWWebController*)webController;
147 143
148 // Called when a PassKit file is downloaded. |data| should be the data from a 144 // Called when a PassKit file is downloaded. |data| should be the data from a
149 // PassKit file, but this is not guaranteed, and the delegate is responsible for 145 // PassKit file, but this is not guaranteed, and the delegate is responsible for
150 // error handling non PassKit data using -[PKPass initWithData:error:]. If the 146 // error handling non PassKit data using -[PKPass initWithData:error:]. If the
151 // download does not successfully complete, |data| will be nil. 147 // download does not successfully complete, |data| will be nil.
152 - (void)webController:(CRWWebController*)webController 148 - (void)webController:(CRWWebController*)webController
153 didLoadPassKitObject:(NSData*)data; 149 didLoadPassKitObject:(NSData*)data;
154 150
155 @end 151 @end
156 152
157 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ 153 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/web/public/test/fakes/crw_test_web_state_observer.mm ('k') | ios/web/public/web_state/web_state_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698