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

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

Issue 2681933002: Add Java wrapper for RenderFrameHost (Closed)
Patch Set: Make test work with PlzNavigate 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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 const gfx::Rect& initial_rect, 509 const gfx::Rect& initial_rect,
510 bool user_gesture) override; 510 bool user_gesture) override;
511 void DidDisplayInsecureContent() override; 511 void DidDisplayInsecureContent() override;
512 void DidRunInsecureContent(const GURL& security_origin, 512 void DidRunInsecureContent(const GURL& security_origin,
513 const GURL& target_url) override; 513 const GURL& target_url) override;
514 void PassiveInsecureContentFound(const GURL& resource_url) override; 514 void PassiveInsecureContentFound(const GURL& resource_url) override;
515 bool ShouldAllowRunningInsecureContent(content::WebContents* web_contents, 515 bool ShouldAllowRunningInsecureContent(content::WebContents* web_contents,
516 bool allowed_per_prefs, 516 bool allowed_per_prefs,
517 const url::Origin& origin, 517 const url::Origin& origin,
518 const GURL& resource_url) override; 518 const GURL& resource_url) override;
519 #if defined(OS_ANDROID)
520 base::android::ScopedJavaLocalRef<jobject> GetJavaRenderFrameHostDelegate()
521 override;
522 #endif
519 523
520 // RenderViewHostDelegate ---------------------------------------------------- 524 // RenderViewHostDelegate ----------------------------------------------------
521 RenderViewHostDelegateView* GetDelegateView() override; 525 RenderViewHostDelegateView* GetDelegateView() override;
522 bool OnMessageReceived(RenderViewHostImpl* render_view_host, 526 bool OnMessageReceived(RenderViewHostImpl* render_view_host,
523 const IPC::Message& message) override; 527 const IPC::Message& message) override;
524 // RenderFrameHostDelegate has the same method, so list it there because this 528 // RenderFrameHostDelegate has the same method, so list it there because this
525 // interface is going away. 529 // interface is going away.
526 // WebContents* GetAsWebContents() override; 530 // WebContents* GetAsWebContents() override;
527 void RenderViewCreated(RenderViewHost* render_view_host) override; 531 void RenderViewCreated(RenderViewHost* render_view_host) override;
528 void RenderViewReady(RenderViewHost* render_view_host) override; 532 void RenderViewReady(RenderViewHost* render_view_host) override;
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 // Adds/removes a callback called on creation of each new WebContents. 1547 // Adds/removes a callback called on creation of each new WebContents.
1544 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1548 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1545 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1549 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1546 1550
1547 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1551 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1548 }; 1552 };
1549 1553
1550 } // namespace content 1554 } // namespace content
1551 1555
1552 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1556 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_android.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698