OLD | NEW |
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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); | 560 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); |
561 void OnPepperPluginHung(int plugin_child_id, | 561 void OnPepperPluginHung(int plugin_child_id, |
562 const FilePath& path, | 562 const FilePath& path, |
563 bool is_hung); | 563 bool is_hung); |
564 void OnWebUISend(const GURL& source_url, | 564 void OnWebUISend(const GURL& source_url, |
565 const std::string& name, | 565 const std::string& name, |
566 const base::ListValue& args); | 566 const base::ListValue& args); |
567 void OnRequestPpapiBrokerPermission(int request_id, | 567 void OnRequestPpapiBrokerPermission(int request_id, |
568 const GURL& url, | 568 const GURL& url, |
569 const FilePath& plugin_path); | 569 const FilePath& plugin_path); |
570 void OnBrowserPluginCreateGuest( | 570 void OnBrowserPluginAllocateInstanceID(const IPC::Message& message, |
571 int instance_id, | 571 int request_id); |
572 const BrowserPluginHostMsg_CreateGuest_Params& params); | |
573 void OnDidDownloadFavicon(int id, | 572 void OnDidDownloadFavicon(int id, |
574 const GURL& image_url, | 573 const GURL& image_url, |
575 int requested_size, | 574 int requested_size, |
576 const std::vector<SkBitmap>& bitmaps); | 575 const std::vector<SkBitmap>& bitmaps); |
577 void OnUpdateFaviconURL(int32 page_id, | 576 void OnUpdateFaviconURL(int32 page_id, |
578 const std::vector<FaviconURL>& candidates); | 577 const std::vector<FaviconURL>& candidates); |
579 void OnFrameDetached(int64 frame_id); | 578 void OnFrameDetached(int64 frame_id); |
580 | 579 |
581 // Changes the IsLoading state and notifies delegate as needed | 580 // Changes the IsLoading state and notifies delegate as needed |
582 // |details| is used to provide details on the load that just finished | 581 // |details| is used to provide details on the load that just finished |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
868 // Maps the ids of pending favicon downloads to their callbacks | 867 // Maps the ids of pending favicon downloads to their callbacks |
869 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 868 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
870 FaviconDownloadMap favicon_download_map_; | 869 FaviconDownloadMap favicon_download_map_; |
871 | 870 |
872 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 871 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
873 }; | 872 }; |
874 | 873 |
875 } // namespace content | 874 } // namespace content |
876 | 875 |
877 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 876 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |