| 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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 931 void OnScrollFocusedEditableNodeIntoView(); | 931 void OnScrollFocusedEditableNodeIntoView(); |
| 932 void OnSetPageEncoding(const std::string& encoding_name); | 932 void OnSetPageEncoding(const std::string& encoding_name); |
| 933 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); | 933 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); |
| 934 void OnSetupDevToolsClient(); | 934 void OnSetupDevToolsClient(); |
| 935 #if defined(OS_MACOSX) | 935 #if defined(OS_MACOSX) |
| 936 void OnSetWindowVisibility(bool visible); | 936 void OnSetWindowVisibility(bool visible); |
| 937 #endif | 937 #endif |
| 938 void OnSetZoomLevel(double zoom_level); | 938 void OnSetZoomLevel(double zoom_level); |
| 939 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); | 939 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
| 940 void OnShouldClose(); | 940 void OnShouldClose(); |
| 941 void OnStartPhishingDetection(const GURL& url); |
| 941 void OnStop(); | 942 void OnStop(); |
| 942 void OnStopFinding(const ViewMsg_StopFinding_Params& params); | 943 void OnStopFinding(const ViewMsg_StopFinding_Params& params); |
| 943 void OnThemeChanged(); | 944 void OnThemeChanged(); |
| 944 void OnToggleSpellCheck(); | 945 void OnToggleSpellCheck(); |
| 945 void OnToggleSpellPanel(bool is_currently_visible); | 946 void OnToggleSpellPanel(bool is_currently_visible); |
| 946 void OnTranslatePage(int page_id, | 947 void OnTranslatePage(int page_id, |
| 947 const std::string& translate_script, | 948 const std::string& translate_script, |
| 948 const std::string& source_lang, | 949 const std::string& source_lang, |
| 949 const std::string& target_lang); | 950 const std::string& target_lang); |
| 950 void OnUndo(); | 951 void OnUndo(); |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1483 // bunch of stuff, you should probably create a helper class and put your | 1484 // bunch of stuff, you should probably create a helper class and put your |
| 1484 // data and methods on that to avoid bloating RenderView more. You can use | 1485 // data and methods on that to avoid bloating RenderView more. You can use |
| 1485 // the Observer interface to filter IPC messages and receive frame change | 1486 // the Observer interface to filter IPC messages and receive frame change |
| 1486 // notifications. | 1487 // notifications. |
| 1487 // --------------------------------------------------------------------------- | 1488 // --------------------------------------------------------------------------- |
| 1488 | 1489 |
| 1489 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1490 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1490 }; | 1491 }; |
| 1491 | 1492 |
| 1492 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1493 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |