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