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 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 const std::vector<SkBitmap>& bitmaps, | 699 const std::vector<SkBitmap>& bitmaps, |
700 const std::vector<gfx::Size>& original_bitmap_sizes); | 700 const std::vector<gfx::Size>& original_bitmap_sizes); |
701 void OnUpdateFaviconURL(int32 page_id, | 701 void OnUpdateFaviconURL(int32 page_id, |
702 const std::vector<FaviconURL>& candidates); | 702 const std::vector<FaviconURL>& candidates); |
703 void OnFirstVisuallyNonEmptyPaint(int32 page_id); | 703 void OnFirstVisuallyNonEmptyPaint(int32 page_id); |
704 void OnMediaNotification(int64 player_cookie, | 704 void OnMediaNotification(int64 player_cookie, |
705 bool has_video, | 705 bool has_video, |
706 bool has_audio, | 706 bool has_audio, |
707 bool is_playing); | 707 bool is_playing); |
708 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, | 708 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, |
709 const string16& main_text, | 709 const base::string16& main_text, |
710 const string16& sub_text); | 710 const base::string16& sub_text); |
711 void OnHideValidationMessage(); | 711 void OnHideValidationMessage(); |
712 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); | 712 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); |
713 | 713 |
714 | 714 |
715 // Called by derived classes to indicate that we're no longer waiting for a | 715 // Called by derived classes to indicate that we're no longer waiting for a |
716 // response. This won't actually update the throbber, but it will get picked | 716 // response. This won't actually update the throbber, but it will get picked |
717 // up at the next animation step if the throbber is going. | 717 // up at the next animation step if the throbber is going. |
718 void SetNotWaitingForResponse() { waiting_for_response_ = false; } | 718 void SetNotWaitingForResponse() { waiting_for_response_ = false; } |
719 | 719 |
720 // Navigation helpers -------------------------------------------------------- | 720 // Navigation helpers -------------------------------------------------------- |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1028 // Maps the ids of pending image downloads to their callbacks | 1028 // Maps the ids of pending image downloads to their callbacks |
1029 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 1029 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
1030 ImageDownloadMap image_download_map_; | 1030 ImageDownloadMap image_download_map_; |
1031 | 1031 |
1032 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1032 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1033 }; | 1033 }; |
1034 | 1034 |
1035 } // namespace content | 1035 } // namespace content |
1036 | 1036 |
1037 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1037 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |