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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 void SetIsOverlayContent(bool is_overlay_content) override; | 419 void SetIsOverlayContent(bool is_overlay_content) override; |
420 bool IsFocusedElementEditable() override; | 420 bool IsFocusedElementEditable() override; |
421 void ClearFocusedElement() override; | 421 void ClearFocusedElement() override; |
422 | 422 |
423 #if defined(OS_ANDROID) | 423 #if defined(OS_ANDROID) |
424 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; | 424 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; |
425 virtual WebContentsAndroid* GetWebContentsAndroid(); | 425 virtual WebContentsAndroid* GetWebContentsAndroid(); |
426 void ActivateNearestFindResult(float x, float y) override; | 426 void ActivateNearestFindResult(float x, float y) override; |
427 void RequestFindMatchRects(int current_version) override; | 427 void RequestFindMatchRects(int current_version) override; |
428 service_manager::InterfaceProvider* GetJavaInterfaces() override; | 428 service_manager::InterfaceProvider* GetJavaInterfaces() override; |
| 429 base::android::ScopedJavaLocalRef<jobject> GetJavaRenderFrameHostDelegate() |
| 430 override; |
429 #elif defined(OS_MACOSX) | 431 #elif defined(OS_MACOSX) |
430 void SetAllowOtherViews(bool allow) override; | 432 void SetAllowOtherViews(bool allow) override; |
431 bool GetAllowOtherViews() override; | 433 bool GetAllowOtherViews() override; |
432 #endif | 434 #endif |
433 | 435 |
434 // Implementation of PageNavigator. | 436 // Implementation of PageNavigator. |
435 WebContents* OpenURL(const OpenURLParams& params) override; | 437 WebContents* OpenURL(const OpenURLParams& params) override; |
436 | 438 |
437 // Implementation of IPC::Sender. | 439 // Implementation of IPC::Sender. |
438 bool Send(IPC::Message* message) override; | 440 bool Send(IPC::Message* message) override; |
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1536 // Adds/removes a callback called on creation of each new WebContents. | 1538 // Adds/removes a callback called on creation of each new WebContents. |
1537 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1539 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1538 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1540 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1539 | 1541 |
1540 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1542 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1541 }; | 1543 }; |
1542 | 1544 |
1543 } // namespace content | 1545 } // namespace content |
1544 | 1546 |
1545 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1547 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |