Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/WebLocalFrameBase.h |
| diff --git a/third_party/WebKit/Source/core/frame/WebLocalFrameBase.h b/third_party/WebKit/Source/core/frame/WebLocalFrameBase.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..939c676958d21b42ac2a610174518c22b15a1f31 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/frame/WebLocalFrameBase.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file.#ifndef WebViewBase_h |
| + |
| +#ifndef WebLocalFrameBase_h |
| +#define WebLocalFrameBase_h |
| + |
| +#include "public/web/WebLocalFrame.h" |
| + |
| +namespace blink { |
| + |
| +// WebLocalFrameBase is a temporary class the provides a layer of abstraction |
| +// for WebLocalFrameImpl. Mehtods that are declared public in WebLocalFrameImpl |
| +// that are not overrides from WebLocalFrame will be declared pure virtual in |
| +// WebLocalFrameBase. Classes that then have a dependency on WebLocalFrameImpl |
| +// will then take a dependency on WebLocalFrameBase instead, so we can remove |
| +// cyclic dependencies in web/ and move classes from web/ into core/ or |
| +// modules. |
| +// TODO(slangley): Remove this class once WebLocalFrameImpl is in core/ |
|
sashab
2017/05/05 01:10:13
Full stop at end of comment ;)
slangley
2017/05/05 01:18:49
Done
|
| +class WebLocalFrameBase : public WebLocalFrame { |
| + protected: |
| + explicit WebLocalFrameBase(WebTreeScopeType scope) : WebLocalFrame(scope) {} |
| +}; |
| +} |
| + |
| +#endif // WebLocalFrameBase_h |