| 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 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 | 777 |
| 778 // Update the web contents visibility. | 778 // Update the web contents visibility. |
| 779 void UpdateWebContentsVisibility(bool visible); | 779 void UpdateWebContentsVisibility(bool visible); |
| 780 | 780 |
| 781 // Called by FindRequestManager when find replies come in from a renderer | 781 // Called by FindRequestManager when find replies come in from a renderer |
| 782 // process. | 782 // process. |
| 783 void NotifyFindReply(int request_id, | 783 void NotifyFindReply(int request_id, |
| 784 int number_of_matches, | 784 int number_of_matches, |
| 785 const gfx::Rect& selection_rect, | 785 const gfx::Rect& selection_rect, |
| 786 int active_match_ordinal, | 786 int active_match_ordinal, |
| 787 bool final_update); | 787 bool final_update, |
| 788 bool was_frame_removal); |
| 788 | 789 |
| 789 // Modify the counter of connected devices for this WebContents. | 790 // Modify the counter of connected devices for this WebContents. |
| 790 void IncrementBluetoothConnectedDeviceCount(); | 791 void IncrementBluetoothConnectedDeviceCount(); |
| 791 void DecrementBluetoothConnectedDeviceCount(); | 792 void DecrementBluetoothConnectedDeviceCount(); |
| 792 | 793 |
| 793 // Called when the WebContents gains or loses a persistent video. | 794 // Called when the WebContents gains or loses a persistent video. |
| 794 void SetHasPersistentVideo(bool value); | 795 void SetHasPersistentVideo(bool value); |
| 795 | 796 |
| 796 // Whether the WebContents has an active player is effectively fullscreen. | 797 // Whether the WebContents has an active player is effectively fullscreen. |
| 797 // That means that the video is either fullscreen or it is the content of | 798 // That means that the video is either fullscreen or it is the content of |
| (...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1536 // Adds/removes a callback called on creation of each new WebContents. | 1537 // Adds/removes a callback called on creation of each new WebContents. |
| 1537 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1538 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1538 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1539 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1539 | 1540 |
| 1540 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1541 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1541 }; | 1542 }; |
| 1542 | 1543 |
| 1543 } // namespace content | 1544 } // namespace content |
| 1544 | 1545 |
| 1545 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1546 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |