| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_TAB_CONTENTS_WEB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 virtual void ProcessExternalHostMessage(const std::string& message); | 337 virtual void ProcessExternalHostMessage(const std::string& message); |
| 338 virtual void GoToEntryAtOffset(int offset); | 338 virtual void GoToEntryAtOffset(int offset); |
| 339 virtual void GetHistoryListCount(int* back_list_count, | 339 virtual void GetHistoryListCount(int* back_list_count, |
| 340 int* forward_list_count); | 340 int* forward_list_count); |
| 341 virtual void RunFileChooser(bool multiple_files, | 341 virtual void RunFileChooser(bool multiple_files, |
| 342 const std::wstring& title, | 342 const std::wstring& title, |
| 343 const std::wstring& default_file, | 343 const std::wstring& default_file, |
| 344 const std::wstring& filter); | 344 const std::wstring& filter); |
| 345 virtual void RunJavaScriptMessage(const std::wstring& message, | 345 virtual void RunJavaScriptMessage(const std::wstring& message, |
| 346 const std::wstring& default_prompt, | 346 const std::wstring& default_prompt, |
| 347 const GURL& frame_url, |
| 347 const int flags, | 348 const int flags, |
| 348 IPC::Message* reply_msg, | 349 IPC::Message* reply_msg, |
| 349 bool* did_suppress_message); | 350 bool* did_suppress_message); |
| 350 virtual void RunBeforeUnloadConfirm(const std::wstring& message, | 351 virtual void RunBeforeUnloadConfirm(const GURL& frame_url, |
| 352 const std::wstring& message, |
| 351 IPC::Message* reply_msg); | 353 IPC::Message* reply_msg); |
| 352 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, | 354 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, |
| 353 const std::string& json_arguments, | 355 const std::string& json_arguments, |
| 354 IPC::Message* reply_msg); | 356 IPC::Message* reply_msg); |
| 355 virtual void PasswordFormsSeen(const std::vector<PasswordForm>& forms); | 357 virtual void PasswordFormsSeen(const std::vector<PasswordForm>& forms); |
| 356 virtual void AutofillFormSubmitted(const AutofillForm& form); | 358 virtual void AutofillFormSubmitted(const AutofillForm& form); |
| 357 virtual void GetAutofillSuggestions(const std::wstring& field_name, | 359 virtual void GetAutofillSuggestions(const std::wstring& field_name, |
| 358 const std::wstring& user_text, int64 node_id, int request_id); | 360 const std::wstring& user_text, int64 node_id, int request_id); |
| 359 virtual void PageHasOSDD(RenderViewHost* render_view_host, | 361 virtual void PageHasOSDD(RenderViewHost* render_view_host, |
| 360 int32 page_id, const GURL& url, bool autodetected); | 362 int32 page_id, const GURL& url, bool autodetected); |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 | 662 |
| 661 // The last find result. This object contains details about the number of | 663 // The last find result. This object contains details about the number of |
| 662 // matches, the find selection rectangle, etc. The UI can access this | 664 // matches, the find selection rectangle, etc. The UI can access this |
| 663 // information to build its presentation. | 665 // information to build its presentation. |
| 664 FindNotificationDetails find_result_; | 666 FindNotificationDetails find_result_; |
| 665 | 667 |
| 666 DISALLOW_COPY_AND_ASSIGN(WebContents); | 668 DISALLOW_COPY_AND_ASSIGN(WebContents); |
| 667 }; | 669 }; |
| 668 | 670 |
| 669 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ | 671 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ |
| OLD | NEW |