Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2681933002: Add Java wrapper for RenderFrameHost (Closed)
Patch Set: Try to address all review comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after
1537 // Adds/removes a callback called on creation of each new WebContents. 1539 // Adds/removes a callback called on creation of each new WebContents.
1538 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1540 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1539 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1541 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1540 1542
1541 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1543 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1542 }; 1544 };
1543 1545
1544 } // namespace content 1546 } // namespace content
1545 1547
1546 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1548 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698