| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <string> | 8 #include <string> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 const GURL& referrer, | 256 const GURL& referrer, |
| 257 WebKit::WebNavigationPolicy policy); | 257 WebKit::WebNavigationPolicy policy); |
| 258 virtual void DidDownloadImage(int id, | 258 virtual void DidDownloadImage(int id, |
| 259 const GURL& image_url, | 259 const GURL& image_url, |
| 260 bool errored, | 260 bool errored, |
| 261 const SkBitmap& image); | 261 const SkBitmap& image); |
| 262 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL, | 262 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL, |
| 263 ErrorPageType error_type); | 263 ErrorPageType error_type); |
| 264 | 264 |
| 265 virtual void ShowContextMenu(WebView* webview, | 265 virtual void ShowContextMenu(WebView* webview, |
| 266 ContextNode node, | 266 ContextNodeType node_type, |
| 267 int x, | 267 int x, |
| 268 int y, | 268 int y, |
| 269 const GURL& link_url, | 269 const GURL& link_url, |
| 270 const GURL& src_url, | 270 const GURL& src_url, |
| 271 const GURL& page_url, | 271 const GURL& page_url, |
| 272 const GURL& frame_url, | 272 const GURL& frame_url, |
| 273 const ContextMenuMediaParams& media_params, | 273 const ContextMenuMediaParams& media_params, |
| 274 const std::wstring& selection_text, | 274 const std::wstring& selection_text, |
| 275 const std::wstring& misspelled_word, | 275 const std::wstring& misspelled_word, |
| 276 int edit_flags, | 276 int edit_flags, |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 | 532 |
| 533 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, | 533 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, |
| 534 const gfx::Point& screen_point, | 534 const gfx::Point& screen_point, |
| 535 bool ended, bool cancelled); | 535 bool ended, bool cancelled); |
| 536 void OnDragSourceSystemDragEnded(); | 536 void OnDragSourceSystemDragEnded(); |
| 537 void OnInstallMissingPlugin(); | 537 void OnInstallMissingPlugin(); |
| 538 void OnFileChooserResponse(const std::vector<FilePath>& file_names); | 538 void OnFileChooserResponse(const std::vector<FilePath>& file_names); |
| 539 void OnEnableViewSourceMode(); | 539 void OnEnableViewSourceMode(); |
| 540 void OnEnableIntrinsicWidthChangedMode(); | 540 void OnEnableIntrinsicWidthChangedMode(); |
| 541 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); | 541 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); |
| 542 void OnMediaPlayerActionAt(int x, |
| 543 int y, |
| 544 const MediaPlayerAction& action); |
| 542 void OnUpdateBackForwardListCount(int back_list_count, | 545 void OnUpdateBackForwardListCount(int back_list_count, |
| 543 int forward_list_count); | 546 int forward_list_count); |
| 544 void OnGetAccessibilityInfo( | 547 void OnGetAccessibilityInfo( |
| 545 const webkit_glue::WebAccessibility::InParams& in_params, | 548 const webkit_glue::WebAccessibility::InParams& in_params, |
| 546 webkit_glue::WebAccessibility::OutParams* out_params); | 549 webkit_glue::WebAccessibility::OutParams* out_params); |
| 547 void OnClearAccessibilityInfo(int acc_obj_id, bool clear_all); | 550 void OnClearAccessibilityInfo(int acc_obj_id, bool clear_all); |
| 548 | 551 |
| 549 void OnExtensionMessageInvoke(const std::string& function_name, | 552 void OnExtensionMessageInvoke(const std::string& function_name, |
| 550 const ListValue& args); | 553 const ListValue& args); |
| 551 | 554 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 // PrintWebViewHelper handles printing. Note that this object is constructed | 809 // PrintWebViewHelper handles printing. Note that this object is constructed |
| 807 // when printing for the first time but only destroyed with the RenderView. | 810 // when printing for the first time but only destroyed with the RenderView. |
| 808 scoped_ptr<PrintWebViewHelper> print_helper_; | 811 scoped_ptr<PrintWebViewHelper> print_helper_; |
| 809 | 812 |
| 810 RendererPreferences renderer_preferences_; | 813 RendererPreferences renderer_preferences_; |
| 811 | 814 |
| 812 DISALLOW_COPY_AND_ASSIGN(RenderView); | 815 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 813 }; | 816 }; |
| 814 | 817 |
| 815 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 818 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |