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 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 void OnMediaPlayingNotification(int64 player_cookie, | 757 void OnMediaPlayingNotification(int64 player_cookie, |
758 bool has_video, | 758 bool has_video, |
759 bool has_audio); | 759 bool has_audio); |
760 void OnMediaPausedNotification(int64 player_cookie); | 760 void OnMediaPausedNotification(int64 player_cookie); |
761 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, | 761 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, |
762 const base::string16& main_text, | 762 const base::string16& main_text, |
763 const base::string16& sub_text); | 763 const base::string16& sub_text); |
764 void OnHideValidationMessage(); | 764 void OnHideValidationMessage(); |
765 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); | 765 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); |
766 | 766 |
767 | |
768 // Called by derived classes to indicate that we're no longer waiting for a | 767 // Called by derived classes to indicate that we're no longer waiting for a |
769 // response. This won't actually update the throbber, but it will get picked | 768 // response. This won't actually update the throbber, but it will get picked |
770 // up at the next animation step if the throbber is going. | 769 // up at the next animation step if the throbber is going. |
771 void SetNotWaitingForResponse() { waiting_for_response_ = false; } | 770 void SetNotWaitingForResponse() { waiting_for_response_ = false; } |
772 | 771 |
773 // Navigation helpers -------------------------------------------------------- | 772 // Navigation helpers -------------------------------------------------------- |
774 // | 773 // |
775 // These functions are helpers for Navigate() and DidNavigate(). | 774 // These functions are helpers for Navigate() and DidNavigate(). |
776 | 775 |
777 // Handles post-navigation tasks in DidNavigate AFTER the entry has been | 776 // Handles post-navigation tasks in DidNavigate AFTER the entry has been |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 bool last_dialog_suppressed_; | 1128 bool last_dialog_suppressed_; |
1130 | 1129 |
1131 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 1130 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
1132 | 1131 |
1133 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1132 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1134 }; | 1133 }; |
1135 | 1134 |
1136 } // namespace content | 1135 } // namespace content |
1137 | 1136 |
1138 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1137 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |