Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: content/browser/frame_host/navigator_delegate.h

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698