| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 void DumpLoadHistograms() const; | 859 void DumpLoadHistograms() const; |
| 860 | 860 |
| 861 // Logs the navigation state to the console. | 861 // Logs the navigation state to the console. |
| 862 void LogNavigationState(const NavigationState* state, | 862 void LogNavigationState(const NavigationState* state, |
| 863 const WebKit::WebDataSource* ds) const; | 863 const WebKit::WebDataSource* ds) const; |
| 864 | 864 |
| 865 // Scans the given frame for forms and sends them up to the browser. | 865 // Scans the given frame for forms and sends them up to the browser. |
| 866 void SendForms(WebKit::WebFrame* frame); | 866 void SendForms(WebKit::WebFrame* frame); |
| 867 | 867 |
| 868 // Scans the given frame for password forms and sends them up to the browser. | 868 // Scans the given frame for password forms and sends them up to the browser. |
| 869 void SendPasswordForms(WebKit::WebFrame* frame); | 869 // If |only_visible| is true, only forms visible in the layout are sent |
| 870 void SendPasswordForms(WebKit::WebFrame* frame, bool only_visible); |
| 870 | 871 |
| 871 void Print(WebKit::WebFrame* frame, bool script_initiated); | 872 void Print(WebKit::WebFrame* frame, bool script_initiated); |
| 872 | 873 |
| 873 #if defined(OS_LINUX) | 874 #if defined(OS_LINUX) |
| 874 void UpdateFontRenderingFromRendererPrefs(); | 875 void UpdateFontRenderingFromRendererPrefs(); |
| 875 #else | 876 #else |
| 876 void UpdateFontRenderingFromRendererPrefs() { } | 877 void UpdateFontRenderingFromRendererPrefs() { } |
| 877 #endif | 878 #endif |
| 878 | 879 |
| 879 // Inject toolstrip CSS for extension moles and toolstrips. | 880 // Inject toolstrip CSS for extension moles and toolstrips. |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1202 | 1203 |
| 1203 // Site isolation metrics flags. These are per-page-load counts, reset to 0 | 1204 // Site isolation metrics flags. These are per-page-load counts, reset to 0 |
| 1204 // in OnClosePage. | 1205 // in OnClosePage. |
| 1205 int cross_origin_access_count_; | 1206 int cross_origin_access_count_; |
| 1206 int same_origin_access_count_; | 1207 int same_origin_access_count_; |
| 1207 | 1208 |
| 1208 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1209 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1209 }; | 1210 }; |
| 1210 | 1211 |
| 1211 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1212 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |