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

Side by Side Diff: components/html_viewer/web_layer_impl.h

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « components/html_viewer/ime_controller.cc ('k') | components/html_viewer/web_layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_HTML_VIEWER_WEB_LAYER_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_LAYER_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_WEB_LAYER_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_LAYER_IMPL_H_
7 7
8 #include <utility> 8 #include <utility>
9 9
10 #include "cc/blink/web_layer_impl.h" 10 #include "cc/blink/web_layer_impl.h"
11 #include "cc/layers/surface_layer.h" 11 #include "cc/layers/surface_layer.h"
12 12
13 namespace mus { 13 namespace mojo {
14 class View; 14 class View;
15 } 15 }
16 16
17 namespace html_viewer { 17 namespace html_viewer {
18 18
19 class WebLayerImpl : public cc_blink::WebLayerImpl { 19 class WebLayerImpl : public cc_blink::WebLayerImpl {
20 public: 20 public:
21 WebLayerImpl(mus::View* view, float device_pixel_ratio); 21 WebLayerImpl(mojo::View* view, float device_pixel_ratio);
22 ~WebLayerImpl() override; 22 ~WebLayerImpl() override;
23 23
24 // WebLayer implementation. 24 // WebLayer implementation.
25 void setBounds(const blink::WebSize& bounds) override; 25 void setBounds(const blink::WebSize& bounds) override;
26 26
27 private: 27 private:
28 mus::View* view_; 28 mojo::View* view_;
29 const float device_pixel_ratio_; 29 const float device_pixel_ratio_;
30 scoped_refptr<cc::SurfaceLayer> layer_; 30 scoped_refptr<cc::SurfaceLayer> layer_;
31 31
32 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 32 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
33 }; 33 };
34 34
35 } // namespace html_viewer 35 } // namespace html_viewer
36 36
37 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_IMPL_H_ 37 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « components/html_viewer/ime_controller.cc ('k') | components/html_viewer/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698