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