| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 const GURL& referrer, | 254 const GURL& referrer, |
| 255 WebKit::WebNavigationPolicy policy); | 255 WebKit::WebNavigationPolicy policy); |
| 256 virtual void DidDownloadImage(int id, | 256 virtual void DidDownloadImage(int id, |
| 257 const GURL& image_url, | 257 const GURL& image_url, |
| 258 bool errored, | 258 bool errored, |
| 259 const SkBitmap& image); | 259 const SkBitmap& image); |
| 260 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL, | 260 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL, |
| 261 ErrorPageType error_type); | 261 ErrorPageType error_type); |
| 262 | 262 |
| 263 virtual void ShowContextMenu(WebView* webview, | 263 virtual void ShowContextMenu(WebView* webview, |
| 264 ContextNode node, | 264 ContextNodeType node_type, |
| 265 int x, | 265 int x, |
| 266 int y, | 266 int y, |
| 267 const GURL& link_url, | 267 const GURL& link_url, |
| 268 const GURL& src_url, | 268 const GURL& src_url, |
| 269 const GURL& page_url, | 269 const GURL& page_url, |
| 270 const GURL& frame_url, | 270 const GURL& frame_url, |
| 271 const ContextMenuMediaParams& media_params, | 271 const ContextMenuMediaParams& media_params, |
| 272 const std::wstring& selection_text, | 272 const std::wstring& selection_text, |
| 273 const std::wstring& misspelled_word, | 273 const std::wstring& misspelled_word, |
| 274 int edit_flags, | 274 int edit_flags, |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 | 530 |
| 531 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, | 531 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, |
| 532 const gfx::Point& screen_point, | 532 const gfx::Point& screen_point, |
| 533 bool ended, bool cancelled); | 533 bool ended, bool cancelled); |
| 534 void OnDragSourceSystemDragEnded(); | 534 void OnDragSourceSystemDragEnded(); |
| 535 void OnInstallMissingPlugin(); | 535 void OnInstallMissingPlugin(); |
| 536 void OnFileChooserResponse(const std::vector<FilePath>& file_names); | 536 void OnFileChooserResponse(const std::vector<FilePath>& file_names); |
| 537 void OnEnableViewSourceMode(); | 537 void OnEnableViewSourceMode(); |
| 538 void OnEnableIntrinsicWidthChangedMode(); | 538 void OnEnableIntrinsicWidthChangedMode(); |
| 539 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); | 539 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); |
| 540 void OnMediaPlayerActionAt(int x, |
| 541 int y, |
| 542 const MediaPlayerAction& action); |
| 540 void OnUpdateBackForwardListCount(int back_list_count, | 543 void OnUpdateBackForwardListCount(int back_list_count, |
| 541 int forward_list_count); | 544 int forward_list_count); |
| 542 void OnGetAccessibilityInfo( | 545 void OnGetAccessibilityInfo( |
| 543 const webkit_glue::WebAccessibility::InParams& in_params, | 546 const webkit_glue::WebAccessibility::InParams& in_params, |
| 544 webkit_glue::WebAccessibility::OutParams* out_params); | 547 webkit_glue::WebAccessibility::OutParams* out_params); |
| 545 void OnClearAccessibilityInfo(int acc_obj_id, bool clear_all); | 548 void OnClearAccessibilityInfo(int acc_obj_id, bool clear_all); |
| 546 | 549 |
| 547 void OnMoveOrResizeStarted(); | 550 void OnMoveOrResizeStarted(); |
| 548 | 551 |
| 549 // Checks if the RenderView should close, runs the beforeunload handler and | 552 // Checks if the RenderView should close, runs the beforeunload handler and |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 // PrintWebViewHelper handles printing. Note that this object is constructed | 804 // PrintWebViewHelper handles printing. Note that this object is constructed |
| 802 // when printing for the first time but only destroyed with the RenderView. | 805 // when printing for the first time but only destroyed with the RenderView. |
| 803 scoped_ptr<PrintWebViewHelper> print_helper_; | 806 scoped_ptr<PrintWebViewHelper> print_helper_; |
| 804 | 807 |
| 805 RendererPreferences renderer_preferences_; | 808 RendererPreferences renderer_preferences_; |
| 806 | 809 |
| 807 DISALLOW_COPY_AND_ASSIGN(RenderView); | 810 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 808 }; | 811 }; |
| 809 | 812 |
| 810 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 813 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |