| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 virtual void NavigateBackForwardSoon(int offset); | 307 virtual void NavigateBackForwardSoon(int offset); |
| 308 virtual int GetHistoryBackListCount(); | 308 virtual int GetHistoryBackListCount(); |
| 309 virtual int GetHistoryForwardListCount(); | 309 virtual int GetHistoryForwardListCount(); |
| 310 virtual void OnNavStateChanged(WebView* webview); | 310 virtual void OnNavStateChanged(WebView* webview); |
| 311 virtual void SetTooltipText(WebView* webview, | 311 virtual void SetTooltipText(WebView* webview, |
| 312 const std::wstring& tooltip_text, | 312 const std::wstring& tooltip_text, |
| 313 WebKit::WebTextDirection text_direction_hint); | 313 WebKit::WebTextDirection text_direction_hint); |
| 314 virtual void DownloadUrl(const GURL& url, const GURL& referrer); | 314 virtual void DownloadUrl(const GURL& url, const GURL& referrer); |
| 315 virtual void UpdateInspectorSettings(const std::wstring& raw_settings); | 315 virtual void UpdateInspectorSettings(const std::wstring& raw_settings); |
| 316 virtual WebDevToolsAgentDelegate* GetWebDevToolsAgentDelegate(); | 316 virtual WebDevToolsAgentDelegate* GetWebDevToolsAgentDelegate(); |
| 317 virtual void PasteFromSelectionClipboard(); | |
| 318 virtual void ReportFindInPageMatchCount(int count, int request_id, | 317 virtual void ReportFindInPageMatchCount(int count, int request_id, |
| 319 bool final_update); | 318 bool final_update); |
| 320 virtual void ReportFindInPageSelection(int request_id, | 319 virtual void ReportFindInPageSelection(int request_id, |
| 321 int active_match_ordinal, | 320 int active_match_ordinal, |
| 322 const WebKit::WebRect& selection); | 321 const WebKit::WebRect& selection); |
| 323 virtual bool WasOpenedByUserGesture() const; | 322 virtual bool WasOpenedByUserGesture() const; |
| 324 virtual void FocusAccessibilityObject(WebCore::AccessibilityObject* acc_obj); | 323 virtual void FocusAccessibilityObject(WebCore::AccessibilityObject* acc_obj); |
| 325 virtual void SpellCheck(const std::wstring& word, int* misspell_location, | 324 virtual void SpellCheck(const std::wstring& word, int* misspell_location, |
| 326 int* misspell_length); | 325 int* misspell_length); |
| 327 virtual std::wstring GetAutoCorrectWord(const std::wstring& word); | 326 virtual std::wstring GetAutoCorrectWord(const std::wstring& word); |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 void OnToggleSpellCheck(); | 533 void OnToggleSpellCheck(); |
| 535 void OnDelete(); | 534 void OnDelete(); |
| 536 void OnSelectAll(); | 535 void OnSelectAll(); |
| 537 void OnCopyImageAt(int x, int y); | 536 void OnCopyImageAt(int x, int y); |
| 538 void OnExecuteEditCommand(const std::string& name, const std::string& value); | 537 void OnExecuteEditCommand(const std::string& name, const std::string& value); |
| 539 void OnSetupDevToolsClient(); | 538 void OnSetupDevToolsClient(); |
| 540 void OnCancelDownload(int32 download_id); | 539 void OnCancelDownload(int32 download_id); |
| 541 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); | 540 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); |
| 542 void OnDeterminePageText(); | 541 void OnDeterminePageText(); |
| 543 void OnZoom(int function); | 542 void OnZoom(int function); |
| 544 void OnInsertText(const string16& text); | |
| 545 void OnSetPageEncoding(const std::string& encoding_name); | 543 void OnSetPageEncoding(const std::string& encoding_name); |
| 546 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 544 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
| 547 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( | 545 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( |
| 548 const std::vector<GURL>& links, | 546 const std::vector<GURL>& links, |
| 549 const std::vector<FilePath>& local_paths, | 547 const std::vector<FilePath>& local_paths, |
| 550 const FilePath& local_directory_name); | 548 const FilePath& local_directory_name); |
| 551 void OnUploadFileRequest(const ViewMsg_UploadFile_Params& p); | 549 void OnUploadFileRequest(const ViewMsg_UploadFile_Params& p); |
| 552 void OnFormFill(const FormData& form); | 550 void OnFormFill(const FormData& form); |
| 553 void OnFillPasswordForm( | 551 void OnFillPasswordForm( |
| 554 const webkit_glue::PasswordFormDomManager::FillData& form_data); | 552 const webkit_glue::PasswordFormDomManager::FillData& form_data); |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 // page id for the last navigation sent to the browser. | 895 // page id for the last navigation sent to the browser. |
| 898 int32 last_top_level_navigation_page_id_; | 896 int32 last_top_level_navigation_page_id_; |
| 899 | 897 |
| 900 // The settings this render view initialized WebKit with. | 898 // The settings this render view initialized WebKit with. |
| 901 WebPreferences webkit_preferences_; | 899 WebPreferences webkit_preferences_; |
| 902 | 900 |
| 903 DISALLOW_COPY_AND_ASSIGN(RenderView); | 901 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 904 }; | 902 }; |
| 905 | 903 |
| 906 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 904 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |