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 | |
295 // 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 |
296 // position within the NavigationController. Makes no change if offset is | 292 // position within the NavigationController. Makes no change if offset is |
297 // not valid. | 293 // not valid. |
298 virtual void GoToEntryAtOffset(int offset) { } | 294 virtual void GoToEntryAtOffset(int offset) { } |
299 | 295 |
300 // The page requests the size of the back and forward lists | 296 // The page requests the size of the back and forward lists |
301 // within the NavigationController. | 297 // within the NavigationController. |
302 virtual void GetHistoryListCount(int* back_list_count, | 298 virtual void GetHistoryListCount(int* back_list_count, |
303 int* forward_list_count) { } | 299 int* forward_list_count) { } |
304 | 300 |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 | 444 |
449 // A find operation in the current page completed. | 445 // A find operation in the current page completed. |
450 virtual void OnFindReply(int request_id, | 446 virtual void OnFindReply(int request_id, |
451 int number_of_matches, | 447 int number_of_matches, |
452 const gfx::Rect& selection_rect, | 448 const gfx::Rect& selection_rect, |
453 int active_match_ordinal, | 449 int active_match_ordinal, |
454 bool final_update) { } | 450 bool final_update) { } |
455 }; | 451 }; |
456 | 452 |
457 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 453 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |