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

Side by Side Diff: chrome/renderer/render_view.h

Issue 6398001: Run pre-classification checks in the browser before starting client-side phishing detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix switch/case formatting 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 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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 void OnScrollFocusedEditableNodeIntoView(); 935 void OnScrollFocusedEditableNodeIntoView();
936 void OnSetPageEncoding(const std::string& encoding_name); 936 void OnSetPageEncoding(const std::string& encoding_name);
937 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 937 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
938 void OnSetupDevToolsClient(); 938 void OnSetupDevToolsClient();
939 #if defined(OS_MACOSX) 939 #if defined(OS_MACOSX)
940 void OnSetWindowVisibility(bool visible); 940 void OnSetWindowVisibility(bool visible);
941 #endif 941 #endif
942 void OnSetZoomLevel(double zoom_level); 942 void OnSetZoomLevel(double zoom_level);
943 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); 943 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level);
944 void OnShouldClose(); 944 void OnShouldClose();
945 void OnStartPhishingDetection(const GURL& url);
945 void OnStop(); 946 void OnStop();
946 void OnStopFinding(const ViewMsg_StopFinding_Params& params); 947 void OnStopFinding(const ViewMsg_StopFinding_Params& params);
947 void OnThemeChanged(); 948 void OnThemeChanged();
948 void OnToggleSpellCheck(); 949 void OnToggleSpellCheck();
949 void OnToggleSpellPanel(bool is_currently_visible); 950 void OnToggleSpellPanel(bool is_currently_visible);
950 void OnTranslatePage(int page_id, 951 void OnTranslatePage(int page_id,
951 const std::string& translate_script, 952 const std::string& translate_script,
952 const std::string& source_lang, 953 const std::string& source_lang,
953 const std::string& target_lang); 954 const std::string& target_lang);
954 void OnUndo(); 955 void OnUndo();
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 // bunch of stuff, you should probably create a helper class and put your 1488 // bunch of stuff, you should probably create a helper class and put your
1488 // data and methods on that to avoid bloating RenderView more. You can use 1489 // data and methods on that to avoid bloating RenderView more. You can use
1489 // the Observer interface to filter IPC messages and receive frame change 1490 // the Observer interface to filter IPC messages and receive frame change
1490 // notifications. 1491 // notifications.
1491 // --------------------------------------------------------------------------- 1492 // ---------------------------------------------------------------------------
1492 1493
1493 DISALLOW_COPY_AND_ASSIGN(RenderView); 1494 DISALLOW_COPY_AND_ASSIGN(RenderView);
1494 }; 1495 };
1495 1496
1496 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1497 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698