| 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 <map> | 10 #include <map> |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 void Find(int request_id, | 375 void Find(int request_id, |
| 376 const base::string16& search_text, | 376 const base::string16& search_text, |
| 377 const blink::WebFindOptions& options) override; | 377 const blink::WebFindOptions& options) override; |
| 378 void StopFinding(StopFindAction action) override; | 378 void StopFinding(StopFindAction action) override; |
| 379 void InsertCSS(const std::string& css) override; | 379 void InsertCSS(const std::string& css) override; |
| 380 bool WasRecentlyAudible() override; | 380 bool WasRecentlyAudible() override; |
| 381 void GetManifest(const GetManifestCallback& callback) override; | 381 void GetManifest(const GetManifestCallback& callback) override; |
| 382 void HasManifest(const HasManifestCallback& callback) override; | 382 void HasManifest(const HasManifestCallback& callback) override; |
| 383 void ExitFullscreen(bool will_cause_resize) override; | 383 void ExitFullscreen(bool will_cause_resize) override; |
| 384 void ResumeLoadingCreatedWebContents() override; | 384 void ResumeLoadingCreatedWebContents() override; |
| 385 #if defined(OS_ANDROID) | |
| 386 void OnMediaSessionStateChanged(); | 385 void OnMediaSessionStateChanged(); |
| 387 void ResumeMediaSession() override; | 386 void ResumeMediaSession() override; |
| 388 void SuspendMediaSession() override; | 387 void SuspendMediaSession() override; |
| 389 void StopMediaSession() override; | 388 void StopMediaSession() override; |
| 390 | 389 |
| 390 #if defined(OS_ANDROID) |
| 391 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; | 391 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; |
| 392 virtual WebContentsAndroid* GetWebContentsAndroid(); | 392 virtual WebContentsAndroid* GetWebContentsAndroid(); |
| 393 #elif defined(OS_MACOSX) | 393 #elif defined(OS_MACOSX) |
| 394 void SetAllowOtherViews(bool allow) override; | 394 void SetAllowOtherViews(bool allow) override; |
| 395 bool GetAllowOtherViews() override; | 395 bool GetAllowOtherViews() override; |
| 396 #endif | 396 #endif |
| 397 | 397 |
| 398 // Implementation of PageNavigator. | 398 // Implementation of PageNavigator. |
| 399 WebContents* OpenURL(const OpenURLParams& params) override; | 399 WebContents* OpenURL(const OpenURLParams& params) override; |
| 400 | 400 |
| (...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1343 // Adds/removes a callback called on creation of each new WebContents. | 1343 // Adds/removes a callback called on creation of each new WebContents. |
| 1344 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1344 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1345 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1345 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1346 | 1346 |
| 1347 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1347 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1348 }; | 1348 }; |
| 1349 | 1349 |
| 1350 } // namespace content | 1350 } // namespace content |
| 1351 | 1351 |
| 1352 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1352 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |