| 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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 // not valid. | 276 // not valid. |
| 277 virtual void GoToEntryAtOffset(int offset) { } | 277 virtual void GoToEntryAtOffset(int offset) { } |
| 278 | 278 |
| 279 // The page requests the size of the back and forward lists | 279 // The page requests the size of the back and forward lists |
| 280 // within the NavigationController. | 280 // within the NavigationController. |
| 281 virtual void GetHistoryListCount(int* back_list_count, | 281 virtual void GetHistoryListCount(int* back_list_count, |
| 282 int* forward_list_count) { } | 282 int* forward_list_count) { } |
| 283 | 283 |
| 284 // A file chooser should be shown. | 284 // A file chooser should be shown. |
| 285 virtual void RunFileChooser(bool multiple_files, | 285 virtual void RunFileChooser(bool multiple_files, |
| 286 const std::wstring& title, | 286 const string16& title, |
| 287 const std::wstring& default_file, | 287 const FilePath& default_file) { } |
| 288 const std::wstring& filter) { } | |
| 289 | 288 |
| 290 // A javascript message, confirmation or prompt should be shown. | 289 // A javascript message, confirmation or prompt should be shown. |
| 291 virtual void RunJavaScriptMessage(const std::wstring& message, | 290 virtual void RunJavaScriptMessage(const std::wstring& message, |
| 292 const std::wstring& default_prompt, | 291 const std::wstring& default_prompt, |
| 293 const GURL& frame_url, | 292 const GURL& frame_url, |
| 294 const int flags, | 293 const int flags, |
| 295 IPC::Message* reply_msg, | 294 IPC::Message* reply_msg, |
| 296 bool* did_suppress_message) { } | 295 bool* did_suppress_message) { } |
| 297 | 296 |
| 298 virtual void RunBeforeUnloadConfirm(const std::wstring& message, | 297 virtual void RunBeforeUnloadConfirm(const std::wstring& message, |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 | 421 |
| 423 // A find operation in the current page completed. | 422 // A find operation in the current page completed. |
| 424 virtual void OnFindReply(int request_id, | 423 virtual void OnFindReply(int request_id, |
| 425 int number_of_matches, | 424 int number_of_matches, |
| 426 const gfx::Rect& selection_rect, | 425 const gfx::Rect& selection_rect, |
| 427 int active_match_ordinal, | 426 int active_match_ordinal, |
| 428 bool final_update) { } | 427 bool final_update) { } |
| 429 }; | 428 }; |
| 430 | 429 |
| 431 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 430 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |