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

Unified Diff: components/html_viewer/web_layer_impl.h

Issue 1373003002: html_viewer/Mandoline: Avoid subclassing WebLayerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 5 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/html_viewer/html_frame.cc ('k') | components/html_viewer/web_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/web_layer_impl.h
diff --git a/components/html_viewer/web_layer_impl.h b/components/html_viewer/web_layer_impl.h
deleted file mode 100644
index e245d1f768e9e9d594776f57b135ef43d1da2721..0000000000000000000000000000000000000000
--- a/components/html_viewer/web_layer_impl.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2015 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 COMPONENTS_HTML_VIEWER_WEB_LAYER_IMPL_H_
-#define COMPONENTS_HTML_VIEWER_WEB_LAYER_IMPL_H_
-
-#include <utility>
-
-#include "cc/blink/web_layer_impl.h"
-#include "cc/layers/surface_layer.h"
-
-namespace mus {
-class View;
-}
-
-namespace html_viewer {
-
-class WebLayerImpl : public cc_blink::WebLayerImpl {
- public:
- WebLayerImpl(mus::View* view, float device_pixel_ratio);
- ~WebLayerImpl() override;
-
- // WebLayer implementation.
- void setBounds(const blink::WebSize& bounds) override;
-
- private:
- mus::View* view_;
- const float device_pixel_ratio_;
- scoped_refptr<cc::SurfaceLayer> layer_;
-
- DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
-};
-
-} // namespace html_viewer
-
-#endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_IMPL_H_
« no previous file with comments | « components/html_viewer/html_frame.cc ('k') | components/html_viewer/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698