| 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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 const base::FilePath& path, | 582 const base::FilePath& path, |
| 583 bool is_hung); | 583 bool is_hung); |
| 584 void OnWebUISend(const GURL& source_url, | 584 void OnWebUISend(const GURL& source_url, |
| 585 const std::string& name, | 585 const std::string& name, |
| 586 const base::ListValue& args); | 586 const base::ListValue& args); |
| 587 void OnRequestPpapiBrokerPermission(int request_id, | 587 void OnRequestPpapiBrokerPermission(int request_id, |
| 588 const GURL& url, | 588 const GURL& url, |
| 589 const base::FilePath& plugin_path); | 589 const base::FilePath& plugin_path); |
| 590 void OnBrowserPluginMessage(const IPC::Message& message); | 590 void OnBrowserPluginMessage(const IPC::Message& message); |
| 591 void OnDidDownloadImage(int id, | 591 void OnDidDownloadImage(int id, |
| 592 int http_status_code, |
| 592 const GURL& image_url, | 593 const GURL& image_url, |
| 593 int requested_size, | 594 int requested_size, |
| 594 const std::vector<SkBitmap>& bitmaps); | 595 const std::vector<SkBitmap>& bitmaps); |
| 595 void OnUpdateFaviconURL(int32 page_id, | 596 void OnUpdateFaviconURL(int32 page_id, |
| 596 const std::vector<FaviconURL>& candidates); | 597 const std::vector<FaviconURL>& candidates); |
| 597 void OnFrameAttached(int64 parent_frame_id, | 598 void OnFrameAttached(int64 parent_frame_id, |
| 598 int64 frame_id, | 599 int64 frame_id, |
| 599 const std::string& frame_name); | 600 const std::string& frame_name); |
| 600 void OnFrameDetached(int64 parent_frame_id, int64 frame_id); | 601 void OnFrameDetached(int64 parent_frame_id, int64 frame_id); |
| 601 | 602 |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 // Maps the ids of pending image downloads to their callbacks | 910 // Maps the ids of pending image downloads to their callbacks |
| 910 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 911 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
| 911 ImageDownloadMap image_download_map_; | 912 ImageDownloadMap image_download_map_; |
| 912 | 913 |
| 913 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 914 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 914 }; | 915 }; |
| 915 | 916 |
| 916 } // namespace content | 917 } // namespace content |
| 917 | 918 |
| 918 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 919 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |