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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 const std::string& content) { } | 281 const std::string& content) { } |
282 | 282 |
283 // A message for external host. By default we ignore such messages. | 283 // A message for external host. By default we ignore such messages. |
284 // |receiver| can be a receiving script and |message| is any | 284 // |receiver| can be a receiving script and |message| is any |
285 // arbitrary string that makes sense to the receiver. | 285 // arbitrary string that makes sense to the receiver. |
286 virtual void ProcessExternalHostMessage(const std::string& message, | 286 virtual void ProcessExternalHostMessage(const std::string& message, |
287 const std::string& origin, | 287 const std::string& origin, |
288 const std::string& target) { | 288 const std::string& target) { |
289 } | 289 } |
290 | 290 |
| 291 // A document has been loaded in a frame. |
| 292 virtual void DocumentLoadedInFrame() { |
| 293 } |
| 294 |
291 // Navigate to the history entry for the given offset from the current | 295 // Navigate to the history entry for the given offset from the current |
292 // position within the NavigationController. Makes no change if offset is | 296 // position within the NavigationController. Makes no change if offset is |
293 // not valid. | 297 // not valid. |
294 virtual void GoToEntryAtOffset(int offset) { } | 298 virtual void GoToEntryAtOffset(int offset) { } |
295 | 299 |
296 // The page requests the size of the back and forward lists | 300 // The page requests the size of the back and forward lists |
297 // within the NavigationController. | 301 // within the NavigationController. |
298 virtual void GetHistoryListCount(int* back_list_count, | 302 virtual void GetHistoryListCount(int* back_list_count, |
299 int* forward_list_count) { } | 303 int* forward_list_count) { } |
300 | 304 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 | 449 |
446 // A find operation in the current page completed. | 450 // A find operation in the current page completed. |
447 virtual void OnFindReply(int request_id, | 451 virtual void OnFindReply(int request_id, |
448 int number_of_matches, | 452 int number_of_matches, |
449 const gfx::Rect& selection_rect, | 453 const gfx::Rect& selection_rect, |
450 int active_match_ordinal, | 454 int active_match_ordinal, |
451 bool final_update) { } | 455 bool final_update) { } |
452 }; | 456 }; |
453 | 457 |
454 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 458 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |