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