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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.h

Issue 6272003: Add another didRunInsecureContent method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 void OnDidFailProvisionalLoadWithError(int64 frame_id, 800 void OnDidFailProvisionalLoadWithError(int64 frame_id,
801 bool main_frame, 801 bool main_frame,
802 int error_code, 802 int error_code,
803 const GURL& url, 803 const GURL& url,
804 bool showing_repost_interstitial); 804 bool showing_repost_interstitial);
805 void OnDidLoadResourceFromMemoryCache(const GURL& url, 805 void OnDidLoadResourceFromMemoryCache(const GURL& url,
806 const std::string& frame_origin, 806 const std::string& frame_origin,
807 const std::string& main_frame_origin, 807 const std::string& main_frame_origin,
808 const std::string& security_info); 808 const std::string& security_info);
809 void OnDidDisplayInsecureContent(); 809 void OnDidDisplayInsecureContent();
810 void OnDidRunInsecureContent(const std::string& security_origin); 810 void OnDidRunInsecureContent(const std::string& security_origin,
811 const std::string& target_url);
811 void OnDocumentLoadedInFrame(int64 frame_id); 812 void OnDocumentLoadedInFrame(int64 frame_id);
812 void OnDidFinishLoad(int64 frame_id); 813 void OnDidFinishLoad(int64 frame_id);
813 814
814 // Changes the IsLoading state and notifies delegate as needed 815 // Changes the IsLoading state and notifies delegate as needed
815 // |details| is used to provide details on the load that just finished 816 // |details| is used to provide details on the load that just finished
816 // (but can be null if not applicable). Can be overridden. 817 // (but can be null if not applicable). Can be overridden.
817 void SetIsLoading(bool is_loading, 818 void SetIsLoading(bool is_loading,
818 LoadNotificationDetails* details); 819 LoadNotificationDetails* details);
819 820
820 // Adds the incoming |new_contents| to the |blocked_contents_| container. 821 // Adds the incoming |new_contents| to the |blocked_contents_| container.
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 // (full-page plugins for now only) permissions. 1344 // (full-page plugins for now only) permissions.
1344 int content_restrictions_; 1345 int content_restrictions_;
1345 1346
1346 // All the IPC message filters for this render view. 1347 // All the IPC message filters for this render view.
1347 std::vector<IPC::Channel::Listener*> message_filters_; 1348 std::vector<IPC::Channel::Listener*> message_filters_;
1348 1349
1349 DISALLOW_COPY_AND_ASSIGN(TabContents); 1350 DISALLOW_COPY_AND_ASSIGN(TabContents);
1350 }; 1351 };
1351 1352
1352 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1353 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents.cc » ('j') | chrome/renderer/render_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698