| 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 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 // the key |render_frame_message_source_|. | 972 // the key |render_frame_message_source_|. |
| 973 typedef std::vector<int64> PlayerList; | 973 typedef std::vector<int64> PlayerList; |
| 974 typedef std::map<uintptr_t, PlayerList> ActiveMediaPlayerMap; | 974 typedef std::map<uintptr_t, PlayerList> ActiveMediaPlayerMap; |
| 975 void AddMediaPlayerEntry(int64 player_cookie, | 975 void AddMediaPlayerEntry(int64 player_cookie, |
| 976 ActiveMediaPlayerMap* player_map); | 976 ActiveMediaPlayerMap* player_map); |
| 977 void RemoveMediaPlayerEntry(int64 player_cookie, | 977 void RemoveMediaPlayerEntry(int64 player_cookie, |
| 978 ActiveMediaPlayerMap* player_map); | 978 ActiveMediaPlayerMap* player_map); |
| 979 // Removes all entries from |player_map| for |render_frame_host|. | 979 // Removes all entries from |player_map| for |render_frame_host|. |
| 980 void RemoveAllMediaPlayerEntries(RenderFrameHost* render_frame_host, | 980 void RemoveAllMediaPlayerEntries(RenderFrameHost* render_frame_host, |
| 981 ActiveMediaPlayerMap* player_map); | 981 ActiveMediaPlayerMap* player_map); |
| 982 void AdvanceFocusToNextInputField(bool forward); |
| 982 | 983 |
| 983 // Data for core operation --------------------------------------------------- | 984 // Data for core operation --------------------------------------------------- |
| 984 | 985 |
| 985 // Delegate for notifying our owner about stuff. Not owned by us. | 986 // Delegate for notifying our owner about stuff. Not owned by us. |
| 986 WebContentsDelegate* delegate_; | 987 WebContentsDelegate* delegate_; |
| 987 | 988 |
| 988 // Handles the back/forward list and loading. | 989 // Handles the back/forward list and loading. |
| 989 NavigationControllerImpl controller_; | 990 NavigationControllerImpl controller_; |
| 990 | 991 |
| 991 // The corresponding view. | 992 // The corresponding view. |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1281 // Adds/removes a callback called on creation of each new WebContents. | 1282 // Adds/removes a callback called on creation of each new WebContents. |
| 1282 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1283 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1283 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1284 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1284 | 1285 |
| 1285 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1286 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1286 }; | 1287 }; |
| 1287 | 1288 |
| 1288 } // namespace content | 1289 } // namespace content |
| 1289 | 1290 |
| 1290 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1291 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |