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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2201763002: Switch on use_new_wrapper_types mode for content/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from Lei and Michael Created 4 years, 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 874
875 // Traverses all the RenderFrameHosts in the FrameTree and creates a set 875 // Traverses all the RenderFrameHosts in the FrameTree and creates a set
876 // all the unique RenderWidgetHostViews. 876 // all the unique RenderWidgetHostViews.
877 std::set<RenderWidgetHostView*> GetRenderWidgetHostViewsInTree(); 877 std::set<RenderWidgetHostView*> GetRenderWidgetHostViewsInTree();
878 878
879 // Called with the result of a DownloadImage() request. 879 // Called with the result of a DownloadImage() request.
880 void OnDidDownloadImage(const ImageDownloadCallback& callback, 880 void OnDidDownloadImage(const ImageDownloadCallback& callback,
881 int id, 881 int id,
882 const GURL& image_url, 882 const GURL& image_url,
883 int32_t http_status_code, 883 int32_t http_status_code,
884 mojo::Array<SkBitmap> images, 884 const std::vector<SkBitmap>& images,
885 mojo::Array<gfx::Size> original_image_sizes); 885 const std::vector<gfx::Size>& original_image_sizes);
886 886
887 // Callback function when showing JavaScript dialogs. Takes in a routing ID 887 // Callback function when showing JavaScript dialogs. Takes in a routing ID
888 // pair to identify the RenderFrameHost that opened the dialog, because it's 888 // pair to identify the RenderFrameHost that opened the dialog, because it's
889 // possible for the RenderFrameHost to be deleted by the time this is called. 889 // possible for the RenderFrameHost to be deleted by the time this is called.
890 void OnDialogClosed(int render_process_id, 890 void OnDialogClosed(int render_process_id,
891 int render_frame_id, 891 int render_frame_id,
892 IPC::Message* reply_msg, 892 IPC::Message* reply_msg,
893 bool dialog_was_suppressed, 893 bool dialog_was_suppressed,
894 bool success, 894 bool success,
895 const base::string16& user_input); 895 const base::string16& user_input);
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 // Adds/removes a callback called on creation of each new WebContents. 1433 // Adds/removes a callback called on creation of each new WebContents.
1434 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1434 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1435 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1435 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1436 1436
1437 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1437 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1438 }; 1438 };
1439 1439
1440 } // namespace content 1440 } // namespace content
1441 1441
1442 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1442 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698