| 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 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 void OnFirstVisuallyNonEmptyPaint(); | 771 void OnFirstVisuallyNonEmptyPaint(); |
| 772 void OnMediaPlayingNotification(int64 player_cookie, | 772 void OnMediaPlayingNotification(int64 player_cookie, |
| 773 bool has_video, | 773 bool has_video, |
| 774 bool has_audio); | 774 bool has_audio); |
| 775 void OnMediaPausedNotification(int64 player_cookie); | 775 void OnMediaPausedNotification(int64 player_cookie); |
| 776 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, | 776 void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, |
| 777 const base::string16& main_text, | 777 const base::string16& main_text, |
| 778 const base::string16& sub_text); | 778 const base::string16& sub_text); |
| 779 void OnHideValidationMessage(); | 779 void OnHideValidationMessage(); |
| 780 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); | 780 void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); |
| 781 void OnWebUIMojoMainRan(); |
| 781 | 782 |
| 782 // Called by derived classes to indicate that we're no longer waiting for a | 783 // Called by derived classes to indicate that we're no longer waiting for a |
| 783 // response. This won't actually update the throbber, but it will get picked | 784 // response. This won't actually update the throbber, but it will get picked |
| 784 // up at the next animation step if the throbber is going. | 785 // up at the next animation step if the throbber is going. |
| 785 void SetNotWaitingForResponse() { waiting_for_response_ = false; } | 786 void SetNotWaitingForResponse() { waiting_for_response_ = false; } |
| 786 | 787 |
| 787 // Navigation helpers -------------------------------------------------------- | 788 // Navigation helpers -------------------------------------------------------- |
| 788 // | 789 // |
| 789 // These functions are helpers for Navigate() and DidNavigate(). | 790 // These functions are helpers for Navigate() and DidNavigate(). |
| 790 | 791 |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1153 | 1154 |
| 1154 scoped_ptr<ScreenOrientationDispatcherHost> | 1155 scoped_ptr<ScreenOrientationDispatcherHost> |
| 1155 screen_orientation_dispatcher_host_; | 1156 screen_orientation_dispatcher_host_; |
| 1156 | 1157 |
| 1157 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1158 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1158 }; | 1159 }; |
| 1159 | 1160 |
| 1160 } // namespace content | 1161 } // namespace content |
| 1161 | 1162 |
| 1162 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1163 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |