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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 235 |
236 // Notification that a request for install info has completed. | 236 // Notification that a request for install info has completed. |
237 virtual void OnDidGetApplicationInfo( | 237 virtual void OnDidGetApplicationInfo( |
238 int32 page_id, | 238 int32 page_id, |
239 const webkit_glue::WebApplicationInfo& app_info) = 0; | 239 const webkit_glue::WebApplicationInfo& app_info) = 0; |
240 | 240 |
241 // Notification that the contents of the page has been loaded. | 241 // Notification that the contents of the page has been loaded. |
242 virtual void OnPageContents(const GURL& url, | 242 virtual void OnPageContents(const GURL& url, |
243 int renderer_process_id, | 243 int renderer_process_id, |
244 int32 page_id, | 244 int32 page_id, |
245 const string16& contents, | 245 const std::wstring& contents, |
246 const std::string& language) = 0; | 246 const std::string& language) = 0; |
247 | 247 |
248 // Notification that the page has been translated. | 248 // Notification that the page has been translated. |
249 virtual void OnPageTranslated(int32 page_id, | 249 virtual void OnPageTranslated(int32 page_id, |
250 const std::string& original_lang, | 250 const std::string& original_lang, |
251 const std::string& translated_lang, | 251 const std::string& translated_lang, |
252 TranslateErrors::Type error_type) = 0; | 252 TranslateErrors::Type error_type) = 0; |
253 }; | 253 }; |
254 | 254 |
255 // Resource ------------------------------------------------------------------ | 255 // Resource ------------------------------------------------------------------ |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 virtual bool IsExternalTabContainer() const; | 658 virtual bool IsExternalTabContainer() const; |
659 | 659 |
660 // The RenderView has inserted one css file into page. | 660 // The RenderView has inserted one css file into page. |
661 virtual void DidInsertCSS() {} | 661 virtual void DidInsertCSS() {} |
662 | 662 |
663 // A different node in the page got focused. | 663 // A different node in the page got focused. |
664 virtual void FocusedNodeChanged() {} | 664 virtual void FocusedNodeChanged() {} |
665 }; | 665 }; |
666 | 666 |
667 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 667 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |