| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 RenderViewHost* render_view_host, | 356 RenderViewHost* render_view_host, |
| 357 long long frame_id, | 357 long long frame_id, |
| 358 bool is_main_frame, | 358 bool is_main_frame, |
| 359 int error_code, | 359 int error_code, |
| 360 const GURL& url, | 360 const GURL& url, |
| 361 bool showing_repost_interstitial) = 0; | 361 bool showing_repost_interstitial) = 0; |
| 362 | 362 |
| 363 // Notification that a document has been loaded in a frame. | 363 // Notification that a document has been loaded in a frame. |
| 364 virtual void DocumentLoadedInFrame(long long frame_id) = 0; | 364 virtual void DocumentLoadedInFrame(long long frame_id) = 0; |
| 365 | 365 |
| 366 // Notification that a frame finished loading. |
| 367 virtual void DidFinishLoad(long long frame_id) = 0; |
| 368 |
| 366 protected: | 369 protected: |
| 367 virtual ~Resource() {} | 370 virtual ~Resource() {} |
| 368 }; | 371 }; |
| 369 | 372 |
| 370 // ContentSettings------------------------------------------------------------ | 373 // ContentSettings------------------------------------------------------------ |
| 371 // Interface for content settings related events. | 374 // Interface for content settings related events. |
| 372 | 375 |
| 373 class ContentSettings { | 376 class ContentSettings { |
| 374 public: | 377 public: |
| 375 // Called when content in the current page was blocked due to the user's | 378 // Called when content in the current page was blocked due to the user's |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 bool remember) {} | 858 bool remember) {} |
| 856 | 859 |
| 857 // Update the content restrictions, i.e. disable print/copy. | 860 // Update the content restrictions, i.e. disable print/copy. |
| 858 virtual void UpdateContentRestrictions(int restrictions) {} | 861 virtual void UpdateContentRestrictions(int restrictions) {} |
| 859 | 862 |
| 860 protected: | 863 protected: |
| 861 virtual ~RenderViewHostDelegate() {} | 864 virtual ~RenderViewHostDelegate() {} |
| 862 }; | 865 }; |
| 863 | 866 |
| 864 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 867 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |