| 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 bool bypass_cache, | 384 bool bypass_cache, |
| 385 const ImageDownloadCallback& callback) override; | 385 const ImageDownloadCallback& callback) override; |
| 386 bool IsSubframe() const override; | 386 bool IsSubframe() const override; |
| 387 void Find(int request_id, | 387 void Find(int request_id, |
| 388 const base::string16& search_text, | 388 const base::string16& search_text, |
| 389 const blink::WebFindOptions& options) override; | 389 const blink::WebFindOptions& options) override; |
| 390 void StopFinding(StopFindAction action) override; | 390 void StopFinding(StopFindAction action) override; |
| 391 void InsertCSS(const std::string& css) override; | 391 void InsertCSS(const std::string& css) override; |
| 392 bool WasRecentlyAudible() override; | 392 bool WasRecentlyAudible() override; |
| 393 void GetManifest(const GetManifestCallback& callback) override; | 393 void GetManifest(const GetManifestCallback& callback) override; |
| 394 void HasManifest(const HasManifestCallback& callback) override; | |
| 395 void ExitFullscreen(bool will_cause_resize) override; | 394 void ExitFullscreen(bool will_cause_resize) override; |
| 396 void ResumeLoadingCreatedWebContents() override; | 395 void ResumeLoadingCreatedWebContents() override; |
| 397 void OnMediaSessionStateChanged(); | 396 void OnMediaSessionStateChanged(); |
| 398 void ResumeMediaSession() override; | 397 void ResumeMediaSession() override; |
| 399 void SuspendMediaSession() override; | 398 void SuspendMediaSession() override; |
| 400 void StopMediaSession() override; | 399 void StopMediaSession() override; |
| 401 | 400 |
| 402 #if defined(OS_ANDROID) | 401 #if defined(OS_ANDROID) |
| 403 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; | 402 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; |
| 404 virtual WebContentsAndroid* GetWebContentsAndroid(); | 403 virtual WebContentsAndroid* GetWebContentsAndroid(); |
| (...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1431 // Adds/removes a callback called on creation of each new WebContents. | 1430 // Adds/removes a callback called on creation of each new WebContents. |
| 1432 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1431 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1433 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1432 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1434 | 1433 |
| 1435 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1434 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1436 }; | 1435 }; |
| 1437 | 1436 |
| 1438 } // namespace content | 1437 } // namespace content |
| 1439 | 1438 |
| 1440 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1439 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |