| 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 struct WebApplicationInfo; | 52 struct WebApplicationInfo; |
| 53 struct WebDropData; | 53 struct WebDropData; |
| 54 struct WebPreferences; | 54 struct WebPreferences; |
| 55 struct UserMetricsAction; | 55 struct UserMetricsAction; |
| 56 | 56 |
| 57 namespace gfx { | 57 namespace gfx { |
| 58 class Point; | 58 class Point; |
| 59 } // namespace gfx | 59 } // namespace gfx |
| 60 | 60 |
| 61 namespace webkit_glue { | 61 namespace webkit_glue { |
| 62 struct FormData; | |
| 63 class FormField; | |
| 64 struct PasswordForm; | |
| 65 struct PasswordFormFillData; | |
| 66 struct WebAccessibility; | 62 struct WebAccessibility; |
| 67 } // namespace webkit_glue | 63 } // namespace webkit_glue |
| 68 | 64 |
| 69 namespace WebKit { | 65 namespace WebKit { |
| 70 struct WebMediaPlayerAction; | 66 struct WebMediaPlayerAction; |
| 71 } // namespace WebKit | 67 } // namespace WebKit |
| 72 | 68 |
| 73 class URLRequestContextGetter; | 69 class URLRequestContextGetter; |
| 74 | 70 |
| 75 // | 71 // |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 // Change the encoding of the page. | 234 // Change the encoding of the page. |
| 239 void SetPageEncoding(const std::string& encoding); | 235 void SetPageEncoding(const std::string& encoding); |
| 240 | 236 |
| 241 // Reset any override encoding on the page and change back to default. | 237 // Reset any override encoding on the page and change back to default. |
| 242 void ResetPageEncodingToDefault(); | 238 void ResetPageEncodingToDefault(); |
| 243 | 239 |
| 244 // Change the alternate error page URL. An empty GURL disables the use of | 240 // Change the alternate error page URL. An empty GURL disables the use of |
| 245 // alternate error pages. | 241 // alternate error pages. |
| 246 void SetAlternateErrorPageURL(const GURL& url); | 242 void SetAlternateErrorPageURL(const GURL& url); |
| 247 | 243 |
| 248 // Fill out a password form and trigger DOM autocomplete in the case | |
| 249 // of multiple matching logins. | |
| 250 void FillPasswordForm( | |
| 251 const webkit_glue::PasswordFormFillData& form_data); | |
| 252 | |
| 253 // D&d drop target messages that get sent to WebKit. | 244 // D&d drop target messages that get sent to WebKit. |
| 254 void DragTargetDragEnter(const WebDropData& drop_data, | 245 void DragTargetDragEnter(const WebDropData& drop_data, |
| 255 const gfx::Point& client_pt, | 246 const gfx::Point& client_pt, |
| 256 const gfx::Point& screen_pt, | 247 const gfx::Point& screen_pt, |
| 257 WebKit::WebDragOperationsMask operations_allowed); | 248 WebKit::WebDragOperationsMask operations_allowed); |
| 258 void DragTargetDragOver(const gfx::Point& client_pt, | 249 void DragTargetDragOver(const gfx::Point& client_pt, |
| 259 const gfx::Point& screen_pt, | 250 const gfx::Point& screen_pt, |
| 260 WebKit::WebDragOperationsMask operations_allowed); | 251 WebKit::WebDragOperationsMask operations_allowed); |
| 261 void DragTargetDragLeave(); | 252 void DragTargetDragLeave(); |
| 262 void DragTargetDrop(const gfx::Point& client_pt, | 253 void DragTargetDrop(const gfx::Point& client_pt, |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 // The most recently received accessibility tree - for unit testing only. | 726 // The most recently received accessibility tree - for unit testing only. |
| 736 webkit_glue::WebAccessibility accessibility_tree_; | 727 webkit_glue::WebAccessibility accessibility_tree_; |
| 737 | 728 |
| 738 // The termination status of the last render view that terminated. | 729 // The termination status of the last render view that terminated. |
| 739 base::TerminationStatus render_view_termination_status_; | 730 base::TerminationStatus render_view_termination_status_; |
| 740 | 731 |
| 741 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 732 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 742 }; | 733 }; |
| 743 | 734 |
| 744 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 735 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |