OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-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_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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 virtual void ProcessDOMUIMessage(const std::string& message, | 363 virtual void ProcessDOMUIMessage(const std::string& message, |
364 const std::string& content); | 364 const std::string& content); |
365 virtual void ProcessExternalHostMessage(const std::string& message, | 365 virtual void ProcessExternalHostMessage(const std::string& message, |
366 const std::string& origin, | 366 const std::string& origin, |
367 const std::string& target); | 367 const std::string& target); |
368 virtual void GoToEntryAtOffset(int offset); | 368 virtual void GoToEntryAtOffset(int offset); |
369 virtual void GetHistoryListCount(int* back_list_count, | 369 virtual void GetHistoryListCount(int* back_list_count, |
370 int* forward_list_count); | 370 int* forward_list_count); |
371 virtual void RunFileChooser(bool multiple_files, | 371 virtual void RunFileChooser(bool multiple_files, |
372 const string16& title, | 372 const string16& title, |
373 const FilePath& default_file, | 373 const FilePath& default_file); |
374 const std::wstring& filter); | |
375 virtual void RunJavaScriptMessage(const std::wstring& message, | 374 virtual void RunJavaScriptMessage(const std::wstring& message, |
376 const std::wstring& default_prompt, | 375 const std::wstring& default_prompt, |
377 const GURL& frame_url, | 376 const GURL& frame_url, |
378 const int flags, | 377 const int flags, |
379 IPC::Message* reply_msg, | 378 IPC::Message* reply_msg, |
380 bool* did_suppress_message); | 379 bool* did_suppress_message); |
381 virtual void RunBeforeUnloadConfirm(const std::wstring& message, | 380 virtual void RunBeforeUnloadConfirm(const std::wstring& message, |
382 IPC::Message* reply_msg); | 381 IPC::Message* reply_msg); |
383 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, | 382 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, |
384 const std::string& json_arguments, | 383 const std::string& json_arguments, |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 | 698 |
700 // The last find result. This object contains details about the number of | 699 // The last find result. This object contains details about the number of |
701 // matches, the find selection rectangle, etc. The UI can access this | 700 // matches, the find selection rectangle, etc. The UI can access this |
702 // information to build its presentation. | 701 // information to build its presentation. |
703 FindNotificationDetails find_result_; | 702 FindNotificationDetails find_result_; |
704 | 703 |
705 DISALLOW_COPY_AND_ASSIGN(WebContents); | 704 DISALLOW_COPY_AND_ASSIGN(WebContents); |
706 }; | 705 }; |
707 | 706 |
708 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ | 707 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ |
OLD | NEW |