| 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 | 427 |
| 428 // The destination URL has changed should be updated | 428 // The destination URL has changed should be updated |
| 429 virtual void UpdateTargetURL(int32 page_id, const GURL& url) {} | 429 virtual void UpdateTargetURL(int32 page_id, const GURL& url) {} |
| 430 | 430 |
| 431 // The thumbnail representation of the page changed and should be updated. | 431 // The thumbnail representation of the page changed and should be updated. |
| 432 virtual void UpdateThumbnail(const GURL& url, | 432 virtual void UpdateThumbnail(const GURL& url, |
| 433 const SkBitmap& bitmap, | 433 const SkBitmap& bitmap, |
| 434 const ThumbnailScore& score) {} | 434 const ThumbnailScore& score) {} |
| 435 | 435 |
| 436 // Inspector settings were changes and should be persisted. | 436 // Inspector settings were changes and should be persisted. |
| 437 virtual void UpdateInspectorSettings(const std::wstring& raw_settings) {} | 437 virtual void UpdateInspectorSettings(const std::string& raw_settings) {} |
| 438 | 438 |
| 439 // The page is trying to close the RenderView's representation in the client. | 439 // The page is trying to close the RenderView's representation in the client. |
| 440 virtual void Close(RenderViewHost* render_view_host) {} | 440 virtual void Close(RenderViewHost* render_view_host) {} |
| 441 | 441 |
| 442 // The page is trying to move the RenderView's representation in the client. | 442 // The page is trying to move the RenderView's representation in the client. |
| 443 virtual void RequestMove(const gfx::Rect& new_bounds) {} | 443 virtual void RequestMove(const gfx::Rect& new_bounds) {} |
| 444 | 444 |
| 445 // The RenderView began loading a new page. This corresponds to WebKit's | 445 // The RenderView began loading a new page. This corresponds to WebKit's |
| 446 // notion of the throbber starting. | 446 // notion of the throbber starting. |
| 447 virtual void DidStartLoading(RenderViewHost* render_view_host) {} | 447 virtual void DidStartLoading(RenderViewHost* render_view_host) {} |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 virtual bool IsExternalTabContainer() const; | 550 virtual bool IsExternalTabContainer() const; |
| 551 | 551 |
| 552 // The RenderView has inserted one css file into page. | 552 // The RenderView has inserted one css file into page. |
| 553 virtual void DidInsertCSS() {} | 553 virtual void DidInsertCSS() {} |
| 554 | 554 |
| 555 // A different node in the page got focused. | 555 // A different node in the page got focused. |
| 556 virtual void FocusedNodeChanged() {} | 556 virtual void FocusedNodeChanged() {} |
| 557 }; | 557 }; |
| 558 | 558 |
| 559 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 559 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |