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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 974483002: [WebView] Remove onFailure from VisualStateCallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 void OnDidCommitProvisionalLoad(const IPC::Message& msg); 472 void OnDidCommitProvisionalLoad(const IPC::Message& msg);
473 void OnDidDropNavigation(); 473 void OnDidDropNavigation();
474 void OnBeforeUnloadACK( 474 void OnBeforeUnloadACK(
475 bool proceed, 475 bool proceed,
476 const base::TimeTicks& renderer_before_unload_start_time, 476 const base::TimeTicks& renderer_before_unload_start_time,
477 const base::TimeTicks& renderer_before_unload_end_time); 477 const base::TimeTicks& renderer_before_unload_end_time);
478 void OnSwapOutACK(); 478 void OnSwapOutACK();
479 void OnRenderProcessGone(int status, int error_code); 479 void OnRenderProcessGone(int status, int error_code);
480 void OnContextMenu(const ContextMenuParams& params); 480 void OnContextMenu(const ContextMenuParams& params);
481 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); 481 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result);
482 void OnVisualStateSwapInfo(int source_frame_number, bool swap_success);
482 void OnVisualStateResponse(uint64 id); 483 void OnVisualStateResponse(uint64 id);
483 void OnRunJavaScriptMessage(const base::string16& message, 484 void OnRunJavaScriptMessage(const base::string16& message,
484 const base::string16& default_prompt, 485 const base::string16& default_prompt,
485 const GURL& frame_url, 486 const GURL& frame_url,
486 JavaScriptMessageType type, 487 JavaScriptMessageType type,
487 IPC::Message* reply_msg); 488 IPC::Message* reply_msg);
488 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 489 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
489 const base::string16& message, 490 const base::string16& message,
490 bool is_reload, 491 bool is_reload,
491 IPC::Message* reply_msg); 492 IPC::Message* reply_msg);
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 // PlzNavigate: Owns the stream used in navigations to store the body of the 699 // PlzNavigate: Owns the stream used in navigations to store the body of the
699 // response once it has started. 700 // response once it has started.
700 scoped_ptr<StreamHandle> stream_handle_; 701 scoped_ptr<StreamHandle> stream_handle_;
701 702
702 // Context shared for each PermissionService instance created for this RFH. 703 // Context shared for each PermissionService instance created for this RFH.
703 scoped_ptr<PermissionServiceContext> permission_service_context_; 704 scoped_ptr<PermissionServiceContext> permission_service_context_;
704 705
705 // NOTE: This must be the last member. 706 // NOTE: This must be the last member.
706 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 707 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
707 708
709 std::pair<int, bool> last_swap_info_;
710
708 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 711 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
709 }; 712 };
710 713
711 } // namespace content 714 } // namespace content
712 715
713 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 716 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698