Chromium Code Reviews| 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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 407 const ImageDownloadCallback& callback) override; | 407 const ImageDownloadCallback& callback) override; |
| 408 bool IsSubframe() const override; | 408 bool IsSubframe() const override; |
| 409 void Find(int request_id, | 409 void Find(int request_id, |
| 410 const base::string16& search_text, | 410 const base::string16& search_text, |
| 411 const blink::WebFindOptions& options) override; | 411 const blink::WebFindOptions& options) override; |
| 412 void StopFinding(StopFindAction action) override; | 412 void StopFinding(StopFindAction action) override; |
| 413 bool WasRecentlyAudible() override; | 413 bool WasRecentlyAudible() override; |
| 414 void GetManifest(const GetManifestCallback& callback) override; | 414 void GetManifest(const GetManifestCallback& callback) override; |
| 415 void ExitFullscreen(bool will_cause_resize) override; | 415 void ExitFullscreen(bool will_cause_resize) override; |
| 416 void ResumeLoadingCreatedWebContents() override; | 416 void ResumeLoadingCreatedWebContents() override; |
| 417 void OnMediaSessionStateChanged(); | 417 void OnMediaSessionStateChanged(); |
|
clamy
2016/10/12 12:25:04
It seems that these methods are badly located in t
Zhiqiang Zhang (Slow)
2016/10/12 12:41:16
Done.
| |
| 418 void OnMediaSessionMetadataChanged(); | |
| 418 void ResumeMediaSession() override; | 419 void ResumeMediaSession() override; |
| 419 void SuspendMediaSession() override; | 420 void SuspendMediaSession() override; |
| 420 void StopMediaSession() override; | 421 void StopMediaSession() override; |
| 421 void OnPasswordInputShownOnHttp() override; | 422 void OnPasswordInputShownOnHttp() override; |
| 422 void OnCreditCardInputShownOnHttp() override; | 423 void OnCreditCardInputShownOnHttp() override; |
| 423 | 424 |
| 424 #if defined(OS_ANDROID) | 425 #if defined(OS_ANDROID) |
| 425 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; | 426 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; |
| 426 virtual WebContentsAndroid* GetWebContentsAndroid(); | 427 virtual WebContentsAndroid* GetWebContentsAndroid(); |
| 427 void ActivateNearestFindResult(float x, float y) override; | 428 void ActivateNearestFindResult(float x, float y) override; |
| (...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1501 // Adds/removes a callback called on creation of each new WebContents. | 1502 // Adds/removes a callback called on creation of each new WebContents. |
| 1502 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1503 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1503 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1504 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1504 | 1505 |
| 1505 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1506 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1506 }; | 1507 }; |
| 1507 | 1508 |
| 1508 } // namespace content | 1509 } // namespace content |
| 1509 | 1510 |
| 1510 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1511 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |