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

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

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Minor changes from nasko@'s comments Created 3 years, 10 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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 int32_t render_view_route_id, 500 int32_t render_view_route_id,
501 int32_t main_frame_route_id, 501 int32_t main_frame_route_id,
502 int32_t main_frame_widget_route_id, 502 int32_t main_frame_widget_route_id,
503 const mojom::CreateNewWindowParams& params, 503 const mojom::CreateNewWindowParams& params,
504 SessionStorageNamespace* session_storage_namespace) override; 504 SessionStorageNamespace* session_storage_namespace) override;
505 void ShowCreatedWindow(int process_id, 505 void ShowCreatedWindow(int process_id,
506 int main_frame_widget_route_id, 506 int main_frame_widget_route_id,
507 WindowOpenDisposition disposition, 507 WindowOpenDisposition disposition,
508 const gfx::Rect& initial_rect, 508 const gfx::Rect& initial_rect,
509 bool user_gesture) override; 509 bool user_gesture) override;
510 void DidDisplayInsecureContent() override;
511 void DidRunInsecureContent(const GURL& security_origin,
512 const GURL& target_url) override;
513 void PassiveInsecureContentFound(const GURL& resource_url) override;
514 bool ShouldAllowRunningInsecureContent(content::WebContents* web_contents,
515 bool allowed_per_prefs,
516 const url::Origin& origin,
517 const GURL& resource_url) override;
510 518
511 // RenderViewHostDelegate ---------------------------------------------------- 519 // RenderViewHostDelegate ----------------------------------------------------
512 RenderViewHostDelegateView* GetDelegateView() override; 520 RenderViewHostDelegateView* GetDelegateView() override;
513 bool OnMessageReceived(RenderViewHostImpl* render_view_host, 521 bool OnMessageReceived(RenderViewHostImpl* render_view_host,
514 const IPC::Message& message) override; 522 const IPC::Message& message) override;
515 // RenderFrameHostDelegate has the same method, so list it there because this 523 // RenderFrameHostDelegate has the same method, so list it there because this
516 // interface is going away. 524 // interface is going away.
517 // WebContents* GetAsWebContents() override; 525 // WebContents* GetAsWebContents() override;
518 void RenderViewCreated(RenderViewHost* render_view_host) override; 526 void RenderViewCreated(RenderViewHost* render_view_host) override;
519 void RenderViewReady(RenderViewHost* render_view_host) override; 527 void RenderViewReady(RenderViewHost* render_view_host) override;
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 // Adds/removes a callback called on creation of each new WebContents. 1527 // Adds/removes a callback called on creation of each new WebContents.
1520 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1528 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1521 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1529 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1522 1530
1523 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1531 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1524 }; 1532 };
1525 1533
1526 } // namespace content 1534 } // namespace content
1527 1535
1528 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1536 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.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