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

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

Issue 2741043004: Revert of Add Java wrapper for RenderFrameHost (Closed)
Patch Set: 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
523 519
524 // RenderViewHostDelegate ---------------------------------------------------- 520 // RenderViewHostDelegate ----------------------------------------------------
525 RenderViewHostDelegateView* GetDelegateView() override; 521 RenderViewHostDelegateView* GetDelegateView() override;
526 bool OnMessageReceived(RenderViewHostImpl* render_view_host, 522 bool OnMessageReceived(RenderViewHostImpl* render_view_host,
527 const IPC::Message& message) override; 523 const IPC::Message& message) override;
528 // RenderFrameHostDelegate has the same method, so list it there because this 524 // RenderFrameHostDelegate has the same method, so list it there because this
529 // interface is going away. 525 // interface is going away.
530 // WebContents* GetAsWebContents() override; 526 // WebContents* GetAsWebContents() override;
531 void RenderViewCreated(RenderViewHost* render_view_host) override; 527 void RenderViewCreated(RenderViewHost* render_view_host) override;
532 void RenderViewReady(RenderViewHost* render_view_host) override; 528 void RenderViewReady(RenderViewHost* render_view_host) override;
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1548 // Adds/removes a callback called on creation of each new WebContents. 1544 // Adds/removes a callback called on creation of each new WebContents.
1549 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1545 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1550 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1546 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1551 1547
1552 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1548 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1553 }; 1549 };
1554 1550
1555 } // namespace content 1551 } // namespace content
1556 1552
1557 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1553 #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