OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 bool TakeFocus(content::WebContents* source, bool reverse) override; | 127 bool TakeFocus(content::WebContents* source, bool reverse) override; |
128 void RequestMediaAccessPermission( | 128 void RequestMediaAccessPermission( |
129 content::WebContents* web_contents, | 129 content::WebContents* web_contents, |
130 const content::MediaStreamRequest& request, | 130 const content::MediaStreamRequest& request, |
131 const content::MediaResponseCallback& callback) override; | 131 const content::MediaResponseCallback& callback) override; |
132 bool CheckMediaAccessPermission(content::WebContents* web_contents, | 132 bool CheckMediaAccessPermission(content::WebContents* web_contents, |
133 const GURL& security_origin, | 133 const GURL& security_origin, |
134 content::MediaStreamType type) override; | 134 content::MediaStreamType type) override; |
135 bool PreHandleGestureEvent(content::WebContents* source, | 135 bool PreHandleGestureEvent(content::WebContents* source, |
136 const blink::WebGestureEvent& event) override; | 136 const blink::WebGestureEvent& event) override; |
137 // TODO(jdufault): Remove LoadProgressChanged, SwappedOut, BeforeUnloadFired, | 137 // TODO(jdufault): Remove LoadProgressChanged, BeforeUnloadFired, |
138 // RendererUnresponsive, RendererResponsive, DidNavigateMainFramePostCommit | 138 // RendererUnresponsive, RendererResponsive, DidNavigateMainFramePostCommit |
139 // overrides once crbug.com/452599 is resolved. | 139 // overrides once crbug.com/452599 is resolved. |
140 void LoadProgressChanged(content::WebContents* source, | 140 void LoadProgressChanged(content::WebContents* source, |
141 double progress) override; | 141 double progress) override; |
142 void SwappedOut(content::WebContents* source) override; | |
143 void BeforeUnloadFired(content::WebContents* tab, | 142 void BeforeUnloadFired(content::WebContents* tab, |
144 bool proceed, | 143 bool proceed, |
145 bool* proceed_to_fire_unload) override; | 144 bool* proceed_to_fire_unload) override; |
146 void RendererUnresponsive(content::WebContents* source) override; | 145 void RendererUnresponsive(content::WebContents* source) override; |
147 void RendererResponsive(content::WebContents* source) override; | 146 void RendererResponsive(content::WebContents* source) override; |
148 void DidNavigateMainFramePostCommit(content::WebContents* source) override; | 147 void DidNavigateMainFramePostCommit(content::WebContents* source) override; |
149 | 148 |
150 // Performs series of actions when login prompt is considered | 149 // Performs series of actions when login prompt is considered |
151 // to be ready and visible. | 150 // to be ready and visible. |
152 // 1. Emits LoginPromptVisible signal if needed | 151 // 1. Emits LoginPromptVisible signal if needed |
(...skipping 22 matching lines...) Expand all Loading... |
175 bool forward_keyboard_event_; | 174 bool forward_keyboard_event_; |
176 | 175 |
177 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 176 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
178 | 177 |
179 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 178 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
180 }; | 179 }; |
181 | 180 |
182 } // namespace chromeos | 181 } // namespace chromeos |
183 | 182 |
184 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 183 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
OLD | NEW |