| 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 void Find(int request_id, | 356 void Find(int request_id, |
| 357 const base::string16& search_text, | 357 const base::string16& search_text, |
| 358 const blink::WebFindOptions& options) override; | 358 const blink::WebFindOptions& options) override; |
| 359 void StopFinding(StopFindAction action) override; | 359 void StopFinding(StopFindAction action) override; |
| 360 void InsertCSS(const std::string& css) override; | 360 void InsertCSS(const std::string& css) override; |
| 361 bool WasRecentlyAudible() override; | 361 bool WasRecentlyAudible() override; |
| 362 void GetManifest(const GetManifestCallback&) override; | 362 void GetManifest(const GetManifestCallback&) override; |
| 363 void ExitFullscreen() override; | 363 void ExitFullscreen() override; |
| 364 void ResumeLoadingCreatedWebContents() override; | 364 void ResumeLoadingCreatedWebContents() override; |
| 365 #if defined(OS_ANDROID) | 365 #if defined(OS_ANDROID) |
| 366 void OnMediaSessionStateChanged() override; |
| 367 void ResumeMediaSession() override; |
| 368 void SuspendMediaSession() override; |
| 369 |
| 366 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; | 370 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; |
| 367 virtual WebContentsAndroid* GetWebContentsAndroid(); | 371 virtual WebContentsAndroid* GetWebContentsAndroid(); |
| 368 #elif defined(OS_MACOSX) | 372 #elif defined(OS_MACOSX) |
| 369 void SetAllowOtherViews(bool allow) override; | 373 void SetAllowOtherViews(bool allow) override; |
| 370 bool GetAllowOtherViews() override; | 374 bool GetAllowOtherViews() override; |
| 371 #endif | 375 #endif |
| 372 | 376 |
| 373 // Implementation of PageNavigator. | 377 // Implementation of PageNavigator. |
| 374 WebContents* OpenURL(const OpenURLParams& params) override; | 378 WebContents* OpenURL(const OpenURLParams& params) override; |
| 375 | 379 |
| (...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1286 // Adds/removes a callback called on creation of each new WebContents. | 1290 // Adds/removes a callback called on creation of each new WebContents. |
| 1287 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1291 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1288 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1292 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1289 | 1293 |
| 1290 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1294 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1291 }; | 1295 }; |
| 1292 | 1296 |
| 1293 } // namespace content | 1297 } // namespace content |
| 1294 | 1298 |
| 1295 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1299 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |