| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <functional> | 10 #include <functional> |
| (...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 | 744 |
| 745 // Called by MediaWebContentsObserver when playback starts or stops. See the | 745 // Called by MediaWebContentsObserver when playback starts or stops. See the |
| 746 // WebContentsObserver function stubs for more details. | 746 // WebContentsObserver function stubs for more details. |
| 747 void MediaStartedPlaying(const WebContentsObserver::MediaPlayerId& id); | 747 void MediaStartedPlaying(const WebContentsObserver::MediaPlayerId& id); |
| 748 void MediaStoppedPlaying(const WebContentsObserver::MediaPlayerId& id); | 748 void MediaStoppedPlaying(const WebContentsObserver::MediaPlayerId& id); |
| 749 | 749 |
| 750 MediaWebContentsObserver* media_web_contents_observer() { | 750 MediaWebContentsObserver* media_web_contents_observer() { |
| 751 return media_web_contents_observer_.get(); | 751 return media_web_contents_observer_.get(); |
| 752 } | 752 } |
| 753 | 753 |
| 754 LoaderIOThreadNotifier* loader_io_thread_notifier() { |
| 755 return loader_io_thread_notifier_.get(); |
| 756 } |
| 757 |
| 754 // Update the web contents visibility. | 758 // Update the web contents visibility. |
| 755 void UpdateWebContentsVisibility(bool visible); | 759 void UpdateWebContentsVisibility(bool visible); |
| 756 | 760 |
| 757 // Called by FindRequestManager when find replies come in from a renderer | 761 // Called by FindRequestManager when find replies come in from a renderer |
| 758 // process. | 762 // process. |
| 759 void NotifyFindReply(int request_id, | 763 void NotifyFindReply(int request_id, |
| 760 int number_of_matches, | 764 int number_of_matches, |
| 761 const gfx::Rect& selection_rect, | 765 const gfx::Rect& selection_rect, |
| 762 int active_match_ordinal, | 766 int active_match_ordinal, |
| 763 bool final_update); | 767 bool final_update); |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1433 // Adds/removes a callback called on creation of each new WebContents. | 1437 // Adds/removes a callback called on creation of each new WebContents. |
| 1434 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1438 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1435 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1439 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1436 | 1440 |
| 1437 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1441 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1438 }; | 1442 }; |
| 1439 | 1443 |
| 1440 } // namespace content | 1444 } // namespace content |
| 1441 | 1445 |
| 1442 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1446 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |