| 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 void OnMediaSessionStateChanged(); | 394 void OnMediaSessionStateChanged(); |
| 395 void ResumeMediaSession() override; | 395 void ResumeMediaSession() override; |
| 396 void SuspendMediaSession() override; | 396 void SuspendMediaSession() override; |
| 397 void StopMediaSession() override; | 397 void StopMediaSession() override; |
| 398 | 398 |
| 399 #if defined(OS_ANDROID) | 399 #if defined(OS_ANDROID) |
| 400 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; | 400 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; |
| 401 virtual WebContentsAndroid* GetWebContentsAndroid(); | 401 virtual WebContentsAndroid* GetWebContentsAndroid(); |
| 402 void ActivateNearestFindResult(float x, float y) override; | 402 void ActivateNearestFindResult(float x, float y) override; |
| 403 void RequestFindMatchRects(int current_version) override; | 403 void RequestFindMatchRects(int current_version) override; |
| 404 |
| 405 void SetDownloadDelegate(DownloadDelegate* delegate) override; |
| 406 DownloadDelegate* GetDownloadDelegate() override; |
| 404 #elif defined(OS_MACOSX) | 407 #elif defined(OS_MACOSX) |
| 405 void SetAllowOtherViews(bool allow) override; | 408 void SetAllowOtherViews(bool allow) override; |
| 406 bool GetAllowOtherViews() override; | 409 bool GetAllowOtherViews() override; |
| 407 #endif | 410 #endif |
| 408 | 411 |
| 409 // Implementation of PageNavigator. | 412 // Implementation of PageNavigator. |
| 410 WebContents* OpenURL(const OpenURLParams& params) override; | 413 WebContents* OpenURL(const OpenURLParams& params) override; |
| 411 | 414 |
| 412 // Implementation of IPC::Sender. | 415 // Implementation of IPC::Sender. |
| 413 bool Send(IPC::Message* message) override; | 416 bool Send(IPC::Message* message) override; |
| (...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1401 // Adds/removes a callback called on creation of each new WebContents. | 1404 // Adds/removes a callback called on creation of each new WebContents. |
| 1402 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1405 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1403 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1406 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1404 | 1407 |
| 1405 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1408 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1406 }; | 1409 }; |
| 1407 | 1410 |
| 1408 } // namespace content | 1411 } // namespace content |
| 1409 | 1412 |
| 1410 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1413 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |