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