OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 int32 page_id, | 408 int32 page_id, |
409 const std::string& state) {} | 409 const std::string& state) {} |
410 | 410 |
411 // The page's title was changed and should be updated. | 411 // The page's title was changed and should be updated. |
412 virtual void UpdateTitle(RenderViewHost* render_view_host, | 412 virtual void UpdateTitle(RenderViewHost* render_view_host, |
413 int32 page_id, | 413 int32 page_id, |
414 const std::wstring& title) {} | 414 const std::wstring& title) {} |
415 | 415 |
416 // The page's encoding was changed and should be updated. | 416 // The page's encoding was changed and should be updated. |
417 virtual void UpdateEncoding(RenderViewHost* render_view_host, | 417 virtual void UpdateEncoding(RenderViewHost* render_view_host, |
418 const std::wstring& encoding) {} | 418 const std::string& encoding) {} |
419 | 419 |
420 // The destination URL has changed should be updated | 420 // The destination URL has changed should be updated |
421 virtual void UpdateTargetURL(int32 page_id, const GURL& url) {} | 421 virtual void UpdateTargetURL(int32 page_id, const GURL& url) {} |
422 | 422 |
423 // The thumbnail representation of the page changed and should be updated. | 423 // The thumbnail representation of the page changed and should be updated. |
424 virtual void UpdateThumbnail(const GURL& url, | 424 virtual void UpdateThumbnail(const GURL& url, |
425 const SkBitmap& bitmap, | 425 const SkBitmap& bitmap, |
426 const ThumbnailScore& score) {} | 426 const ThumbnailScore& score) {} |
427 | 427 |
428 // Inspector settings were changes and should be persisted. | 428 // Inspector settings were changes and should be persisted. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state) {} | 538 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state) {} |
539 | 539 |
540 // Returns true if this view is used to host an external tab container. | 540 // Returns true if this view is used to host an external tab container. |
541 virtual bool IsExternalTabContainer() const; | 541 virtual bool IsExternalTabContainer() const; |
542 | 542 |
543 // The RenderView has inserted one css file into page. | 543 // The RenderView has inserted one css file into page. |
544 virtual void DidInsertCSS() {} | 544 virtual void DidInsertCSS() {} |
545 }; | 545 }; |
546 | 546 |
547 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 547 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |