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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 const GURL& url, | 654 const GURL& url, |
655 const base::FilePath& plugin_path); | 655 const base::FilePath& plugin_path); |
656 void OnBrowserPluginMessage(const IPC::Message& message); | 656 void OnBrowserPluginMessage(const IPC::Message& message); |
657 void OnDidDownloadImage(int id, | 657 void OnDidDownloadImage(int id, |
658 int http_status_code, | 658 int http_status_code, |
659 const GURL& image_url, | 659 const GURL& image_url, |
660 const std::vector<SkBitmap>& bitmaps, | 660 const std::vector<SkBitmap>& bitmaps, |
661 const std::vector<gfx::Size>& original_bitmap_sizes); | 661 const std::vector<gfx::Size>& original_bitmap_sizes); |
662 void OnUpdateFaviconURL(int32 page_id, | 662 void OnUpdateFaviconURL(int32 page_id, |
663 const std::vector<FaviconURL>& candidates); | 663 const std::vector<FaviconURL>& candidates); |
664 | 664 void OnFirstVisuallyNonEmptyPaint(int32 page_id); |
665 void OnMediaNotification(int64 player_cookie, | 665 void OnMediaNotification(int64 player_cookie, |
666 bool has_video, | 666 bool has_video, |
667 bool has_audio, | 667 bool has_audio, |
668 bool is_playing); | 668 bool is_playing); |
669 | 669 |
670 // Called by derived classes to indicate that we're no longer waiting for a | 670 // Called by derived classes to indicate that we're no longer waiting for a |
671 // response. This won't actually update the throbber, but it will get picked | 671 // response. This won't actually update the throbber, but it will get picked |
672 // up at the next animation step if the throbber is going. | 672 // up at the next animation step if the throbber is going. |
673 void SetNotWaitingForResponse() { waiting_for_response_ = false; } | 673 void SetNotWaitingForResponse() { waiting_for_response_ = false; } |
674 | 674 |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 // Maps the ids of pending image downloads to their callbacks | 975 // Maps the ids of pending image downloads to their callbacks |
976 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 976 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
977 ImageDownloadMap image_download_map_; | 977 ImageDownloadMap image_download_map_; |
978 | 978 |
979 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 979 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
980 }; | 980 }; |
981 | 981 |
982 } // namespace content | 982 } // namespace content |
983 | 983 |
984 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 984 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |