Chromium Code Reviews| Index: components/display_compositor/delegated_frame_evictor.h |
| diff --git a/content/browser/renderer_host/delegated_frame_evictor.h b/components/display_compositor/delegated_frame_evictor.h |
| similarity index 61% |
| rename from content/browser/renderer_host/delegated_frame_evictor.h |
| rename to components/display_compositor/delegated_frame_evictor.h |
| index c1bd50ede1b50c9c8ddffd03294bdbec835abe21..57244e8a254d3efb0fe8ceb851d27d7835a9d3fe 100644 |
| --- a/content/browser/renderer_host/delegated_frame_evictor.h |
| +++ b/components/display_compositor/delegated_frame_evictor.h |
| @@ -2,22 +2,23 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_EVICTOR_H_ |
| -#define CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_EVICTOR_H_ |
| +#ifndef COMPONENTS_DISPLAY_COMPOSITOR_DELEGATED_FRAME_EVICTOR_H_ |
| +#define COMPONENTS_DISPLAY_COMPOSITOR_DELEGATED_FRAME_EVICTOR_H_ |
| #include "base/macros.h" |
| -#include "content/browser/renderer_host/renderer_frame_manager.h" |
| -#include "content/common/content_export.h" |
| +#include "components/display_compositor/display_compositor_export.h" |
| +#include "components/display_compositor/renderer_frame_manager.h" |
| -namespace content { |
| +namespace display_compositor { |
| -class CONTENT_EXPORT DelegatedFrameEvictorClient { |
| +class DISPLAY_COMPOSITOR_EXPORT DelegatedFrameEvictorClient { |
| public: |
| virtual ~DelegatedFrameEvictorClient() {} |
| virtual void EvictDelegatedFrame() = 0; |
| }; |
| -class CONTENT_EXPORT DelegatedFrameEvictor : public RendererFrameManagerClient { |
| +class DISPLAY_COMPOSITOR_EXPORT DelegatedFrameEvictor |
|
Saman Sami
2017/04/11 14:58:24
I would rather Delegated to be removed from the na
xing.xu
2017/04/14 03:01:29
Done.
|
| + : public RendererFrameManagerClient { |
| public: |
| // |client| must outlive |this|. |
| explicit DelegatedFrameEvictor(DelegatedFrameEvictorClient* client); |
| @@ -41,6 +42,6 @@ class CONTENT_EXPORT DelegatedFrameEvictor : public RendererFrameManagerClient { |
| DISALLOW_COPY_AND_ASSIGN(DelegatedFrameEvictor); |
| }; |
| -} // namespace content |
| +} // namespace display_compositor |
| -#endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_EVICTOR_H_ |
| +#endif // COMPONENTS_DISPLAY_COMPOSITOR_DELEGATED_FRAME_EVICTOR_H_ |