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

Unified Diff: chrome/renderer/render_view.h

Issue 6250176: Make RenderView not have to know about how PhishingClassifierDelegate. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 73993)
+++ chrome/renderer/render_view.h (working copy)
@@ -108,10 +108,6 @@
} // namespace webkit
-namespace safe_browsing {
-class PhishingClassifierDelegate;
-}
-
namespace webkit_glue {
struct CustomContextMenuContext;
class ImageResourceFetcher;
@@ -235,12 +231,6 @@
send_content_state_immediately_ = value;
}
- // May be NULL if client-side phishing detection is disabled.
- safe_browsing::PhishingClassifierDelegate*
- phishing_classifier_delegate() const {
- return phishing_delegate_.get();
- }
-
// Returns true if we should display scrollbars for the given view size and
// false if the scrollbars should be hidden.
bool should_display_scrollbars(int width, int height) const {
@@ -390,7 +380,6 @@
virtual void didFocus();
virtual void didBlur();
virtual void show(WebKit::WebNavigationPolicy policy);
- virtual void closeWidgetSoon();
virtual void runModal();
// WebKit::WebViewClient implementation --------------------------------------
@@ -1388,10 +1377,6 @@
// Responsible for sending page load related histograms.
PageLoadHistograms page_load_histograms_;
- // Handles the interaction between the RenderView and the phishing
- // classifier.
- scoped_ptr<safe_browsing::PhishingClassifierDelegate> phishing_delegate_;
-
// Misc ----------------------------------------------------------------------
// The current and pending file chooser completion objects. If the queue is
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698