| // Copyright 2019 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 CONTENT_RENDERER_PAGE_PROPERTIES_H_ |
| #define CONTENT_RENDERER_PAGE_PROPERTIES_H_ |
| |
| #include "content/common/content_export.h" |
| |
| namespace content { |
| |
| // This interface exposes "page global" concepts to child frames. Historically |
| // such state was managed by the RenderView API. However RenderView also has |
| // to be have as the WebViewClient as well as the IPC anchor for content. As |
| // such it is hard to separate what APIs are needed by blink, IPC, and other |
| // content renderer objects. |
| // |
| // Splitting out an explicit concept aligned with a "page" better fits the |
| // abstractions and clarifies which APIs can be coupled. |
| class CONTENT_EXPORT PageProperties { |
| public: |
| PageProperties(); |
| ~PageProperties(); |
| }; |
| |
| } // namespace content |
| |
| #endif // CONTENT_RENDERER_PAGE_PROPERTIES_H_ |