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

Side by Side Diff: ios/web/web_state/ui/crw_wk_navigation_states.h

Issue 2685803002: Fixed title updating for back forward navigation. (Closed)
Patch Set: Stubbed title call Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_WEB_STATE_UI_CRW_WK_NAVIGATION_STATES_H_ 5 #ifndef IOS_WEB_WEB_STATE_UI_CRW_WK_NAVIGATION_STATES_H_
6 #define IOS_WEB_WEB_STATE_UI_CRW_WK_NAVIGATION_STATES_H_ 6 #define IOS_WEB_WEB_STATE_UI_CRW_WK_NAVIGATION_STATES_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #import <WebKit/WebKit.h> 9 #import <WebKit/WebKit.h>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // WKNavigationState::COMMITTED state. Passed |navigation| will be help as weak 47 // WKNavigationState::COMMITTED state. Passed |navigation| will be help as weak
48 // reference and will not be retained. No-op if |navigation| is null. 48 // reference and will not be retained. No-op if |navigation| is null.
49 - (void)setState:(web::WKNavigationState)state 49 - (void)setState:(web::WKNavigationState)state
50 forNavigation:(WKNavigation*)navigation; 50 forNavigation:(WKNavigation*)navigation;
51 51
52 // WKNavigation which was added the most recently via |setState:forNavigation:|. 52 // WKNavigation which was added the most recently via |setState:forNavigation:|.
53 // Updating navigation state via |setState:forNavigation:| does not change the 53 // Updating navigation state via |setState:forNavigation:| does not change the
54 // last added navigation. Returns nil if there are no stored navigations. 54 // last added navigation. Returns nil if there are no stored navigations.
55 - (WKNavigation*)lastAddedNavigation; 55 - (WKNavigation*)lastAddedNavigation;
56 56
57 // State of WKNavigation which was added the most recently via
58 // |setState:forNavigation:|.
59 - (web::WKNavigationState)lastAddedNavigationState;
60
57 @end 61 @end
58 62
59 #endif // IOS_WEB_WEB_STATE_UI_CRW_WK_NAVIGATION_STATES_H_ 63 #endif // IOS_WEB_WEB_STATE_UI_CRW_WK_NAVIGATION_STATES_H_
OLDNEW
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller_unittest.mm ('k') | ios/web/web_state/ui/crw_wk_navigation_states.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698