| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "content/public/browser/invalidate_type.h" | 9 #include "content/public/browser/invalidate_type.h" |
| 10 #include "content/public/browser/navigation_controller.h" | 10 #include "content/public/browser/navigation_controller.h" |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 // navigation, or triggered by history.pushState/replaceState. | 118 // navigation, or triggered by history.pushState/replaceState. |
| 119 virtual void DidStartLoading(FrameTreeNode* frame_tree_node, | 119 virtual void DidStartLoading(FrameTreeNode* frame_tree_node, |
| 120 bool to_different_document) {} | 120 bool to_different_document) {} |
| 121 | 121 |
| 122 // A document stopped loading. This corresponds to Blink's notion of the | 122 // A document stopped loading. This corresponds to Blink's notion of the |
| 123 // throbber stopping. | 123 // throbber stopping. |
| 124 virtual void DidStopLoading() {} | 124 virtual void DidStopLoading() {} |
| 125 | 125 |
| 126 // The load progress was changed. | 126 // The load progress was changed. |
| 127 virtual void DidChangeLoadProgress() {} | 127 virtual void DidChangeLoadProgress() {} |
| 128 |
| 129 protected: |
| 130 NavigatorDelegate() = default; |
| 128 }; | 131 }; |
| 129 | 132 |
| 130 } // namspace content | 133 } // namspace content |
| 131 | 134 |
| 132 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 135 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
| OLD | NEW |