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

Side by Side Diff: ios/web/public/web_state/web_state_observer_bridge.h

Issue 2755013002: Removed webControllerDidSuppressDialog: callback. (Closed)
Patch Set: Self review 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 2015 The Chromium Authors. All rights reserved. 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 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_WEB_STATE_OBSERVER_BRIDGE_H_ 5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_OBSERVER_BRIDGE_H_
6 #define IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_OBSERVER_BRIDGE_H_ 6 #define IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_OBSERVER_BRIDGE_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Invoked by WebStateObserverBridge::LoadProgressChanged. 42 // Invoked by WebStateObserverBridge::LoadProgressChanged.
43 - (void)webState:(web::WebState*)webState 43 - (void)webState:(web::WebState*)webState
44 didChangeLoadingProgress:(double)progress; 44 didChangeLoadingProgress:(double)progress;
45 45
46 // Invoked by WebStateObserverBridge::TitleWasSet. 46 // Invoked by WebStateObserverBridge::TitleWasSet.
47 - (void)webStateDidChangeTitle:(web::WebState*)webState; 47 - (void)webStateDidChangeTitle:(web::WebState*)webState;
48 48
49 // Invoked by WebStateObserverBridge::DidChangeVisibleSecurityState. 49 // Invoked by WebStateObserverBridge::DidChangeVisibleSecurityState.
50 - (void)webStateDidChangeVisibleSecurityState:(web::WebState*)webState; 50 - (void)webStateDidChangeVisibleSecurityState:(web::WebState*)webState;
51 51
52 // Invoked by WebStateObserverBridge::DidSuppressDialog.
53 - (void)webStateDidSuppressDialog:(web::WebState*)webState;
54
52 // Invoked by WebStateObserverBridge::DocumentSubmitted. 55 // Invoked by WebStateObserverBridge::DocumentSubmitted.
53 - (void)webState:(web::WebState*)webState 56 - (void)webState:(web::WebState*)webState
54 didSubmitDocumentWithFormNamed:(const std::string&)formName 57 didSubmitDocumentWithFormNamed:(const std::string&)formName
55 userInitiated:(BOOL)userInitiated; 58 userInitiated:(BOOL)userInitiated;
56 59
57 // Invoked by WebStateObserverBridge::FormActivityRegistered. 60 // Invoked by WebStateObserverBridge::FormActivityRegistered.
58 // TODO(ios): Method should take data transfer object rather than parameters. 61 // TODO(ios): Method should take data transfer object rather than parameters.
59 - (void)webState:(web::WebState*)webState 62 - (void)webState:(web::WebState*)webState
60 didRegisterFormActivityWithFormNamed:(const std::string&)formName 63 didRegisterFormActivityWithFormNamed:(const std::string&)formName
61 fieldName:(const std::string&)fieldName 64 fieldName:(const std::string&)fieldName
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void ProvisionalNavigationStarted(const GURL& url) override; 104 void ProvisionalNavigationStarted(const GURL& url) override;
102 void NavigationItemCommitted( 105 void NavigationItemCommitted(
103 const LoadCommittedDetails& load_details) override; 106 const LoadCommittedDetails& load_details) override;
104 void DidFinishNavigation(NavigationContext* navigation_context) override; 107 void DidFinishNavigation(NavigationContext* navigation_context) override;
105 void PageLoaded( 108 void PageLoaded(
106 web::PageLoadCompletionStatus load_completion_status) override; 109 web::PageLoadCompletionStatus load_completion_status) override;
107 void InterstitialDismissed() override; 110 void InterstitialDismissed() override;
108 void LoadProgressChanged(double progress) override; 111 void LoadProgressChanged(double progress) override;
109 void TitleWasSet() override; 112 void TitleWasSet() override;
110 void DidChangeVisibleSecurityState() override; 113 void DidChangeVisibleSecurityState() override;
114 void DidSuppressDialog() override;
111 void DocumentSubmitted(const std::string& form_name, 115 void DocumentSubmitted(const std::string& form_name,
112 bool user_initiated) override; 116 bool user_initiated) override;
113 void FormActivityRegistered(const std::string& form_name, 117 void FormActivityRegistered(const std::string& form_name,
114 const std::string& field_name, 118 const std::string& field_name,
115 const std::string& type, 119 const std::string& type,
116 const std::string& value, 120 const std::string& value,
117 bool input_missing) override; 121 bool input_missing) override;
118 void FaviconUrlUpdated(const std::vector<FaviconURL>& candidates) override; 122 void FaviconUrlUpdated(const std::vector<FaviconURL>& candidates) override;
119 void RenderProcessGone() override; 123 void RenderProcessGone() override;
120 void WebStateDestroyed() override; 124 void WebStateDestroyed() override;
121 void DidStartLoading() override; 125 void DidStartLoading() override;
122 void DidStopLoading() override; 126 void DidStopLoading() override;
123 127
124 private: 128 private:
125 base::WeakNSProtocol<id<CRWWebStateObserver>> observer_; 129 base::WeakNSProtocol<id<CRWWebStateObserver>> observer_;
126 DISALLOW_COPY_AND_ASSIGN(WebStateObserverBridge); 130 DISALLOW_COPY_AND_ASSIGN(WebStateObserverBridge);
127 }; 131 };
128 132
129 } // namespace web 133 } // namespace web
130 134
131 #endif // IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_OBSERVER_BRIDGE_H_ 135 #endif // IOS_WEB_PUBLIC_WEB_STATE_WEB_STATE_OBSERVER_BRIDGE_H_
OLDNEW
« no previous file with comments | « ios/web/public/web_state/web_state_observer.h ('k') | ios/web/web_state/ui/crw_web_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698