OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 int number_of_matches, | 196 int number_of_matches, |
197 const gfx::Rect& selection_rect, | 197 const gfx::Rect& selection_rect, |
198 int active_match_ordinal, | 198 int active_match_ordinal, |
199 bool final_update) = 0; | 199 bool final_update) = 0; |
200 | 200 |
201 // Navigate to the history entry for the given offset from the current | 201 // Navigate to the history entry for the given offset from the current |
202 // position within the NavigationController. Makes no change if offset is | 202 // position within the NavigationController. Makes no change if offset is |
203 // not valid. | 203 // not valid. |
204 virtual void GoToEntryAtOffset(int offset) = 0; | 204 virtual void GoToEntryAtOffset(int offset) = 0; |
205 | 205 |
206 // The page requests the size of the back and forward lists | |
207 // within the NavigationController. | |
208 virtual void GetHistoryListCount(int* back_list_count, | |
209 int* forward_list_count) = 0; | |
210 | |
211 // Notification when default plugin updates status of the missing plugin. | 206 // Notification when default plugin updates status of the missing plugin. |
212 virtual void OnMissingPluginStatus(int status) = 0; | 207 virtual void OnMissingPluginStatus(int status) = 0; |
213 | 208 |
214 // Notification from the renderer that a plugin instance has crashed. | 209 // Notification from the renderer that a plugin instance has crashed. |
215 // | 210 // |
216 // BrowserIntegration isn't necessarily the best place for this, if you | 211 // BrowserIntegration isn't necessarily the best place for this, if you |
217 // need to implement this function somewhere that doesn't need any other | 212 // need to implement this function somewhere that doesn't need any other |
218 // BrowserIntegration callbacks, feel free to move it elsewhere. | 213 // BrowserIntegration callbacks, feel free to move it elsewhere. |
219 virtual void OnCrashedPlugin(const FilePath& plugin_path) = 0; | 214 virtual void OnCrashedPlugin(const FilePath& plugin_path) = 0; |
220 | 215 |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 virtual bool IsExternalTabContainer() const; | 629 virtual bool IsExternalTabContainer() const; |
635 | 630 |
636 // The RenderView has inserted one css file into page. | 631 // The RenderView has inserted one css file into page. |
637 virtual void DidInsertCSS() {} | 632 virtual void DidInsertCSS() {} |
638 | 633 |
639 // A different node in the page got focused. | 634 // A different node in the page got focused. |
640 virtual void FocusedNodeChanged() {} | 635 virtual void FocusedNodeChanged() {} |
641 }; | 636 }; |
642 | 637 |
643 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 638 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |