OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |