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 EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 void SetFullscreenState(bool is_fullscreen); | 282 void SetFullscreenState(bool is_fullscreen); |
283 | 283 |
284 // WebContentsObserver implementation. | 284 // WebContentsObserver implementation. |
285 void DidCommitProvisionalLoadForFrame( | 285 void DidCommitProvisionalLoadForFrame( |
286 content::RenderFrameHost* render_frame_host, | 286 content::RenderFrameHost* render_frame_host, |
287 const GURL& url, | 287 const GURL& url, |
288 ui::PageTransition transition_type) override; | 288 ui::PageTransition transition_type) override; |
289 void DidFailProvisionalLoad(content::RenderFrameHost* render_frame_host, | 289 void DidFailProvisionalLoad(content::RenderFrameHost* render_frame_host, |
290 const GURL& validated_url, | 290 const GURL& validated_url, |
291 int error_code, | 291 int error_code, |
292 const base::string16& error_description) override; | 292 const base::string16& error_description, |
| 293 bool was_ignored_by_handler) override; |
293 void DidStartProvisionalLoadForFrame( | 294 void DidStartProvisionalLoadForFrame( |
294 content::RenderFrameHost* render_frame_host, | 295 content::RenderFrameHost* render_frame_host, |
295 const GURL& validated_url, | 296 const GURL& validated_url, |
296 bool is_error_page, | 297 bool is_error_page, |
297 bool is_iframe_srcdoc) override; | 298 bool is_iframe_srcdoc) override; |
298 void RenderProcessGone(base::TerminationStatus status) override; | 299 void RenderProcessGone(base::TerminationStatus status) override; |
299 void UserAgentOverrideSet(const std::string& user_agent) override; | 300 void UserAgentOverrideSet(const std::string& user_agent) override; |
300 void FrameNameChanged(content::RenderFrameHost* render_frame_host, | 301 void FrameNameChanged(content::RenderFrameHost* render_frame_host, |
301 const std::string& name) override; | 302 const std::string& name) override; |
302 | 303 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 // This is used to ensure pending tasks will not fire after this object is | 408 // This is used to ensure pending tasks will not fire after this object is |
408 // destroyed. | 409 // destroyed. |
409 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; | 410 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; |
410 | 411 |
411 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 412 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
412 }; | 413 }; |
413 | 414 |
414 } // namespace extensions | 415 } // namespace extensions |
415 | 416 |
416 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 417 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
OLD | NEW |