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

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

Issue 1246053003: Renames html_viewer frame classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor cleanup Created 5 years, 5 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
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 11
12 namespace html_viewer { 12 namespace html_viewer {
13 13
14 class Frame; 14 class HTMLFrame;
15 15
16 class WebLayerImpl : public cc_blink::WebLayerImpl { 16 class WebLayerImpl : public cc_blink::WebLayerImpl {
17 public: 17 public:
18 explicit WebLayerImpl(Frame* frame); 18 explicit WebLayerImpl(HTMLFrame* frame);
19 ~WebLayerImpl() override; 19 ~WebLayerImpl() override;
20 20
21 // WebLayer implementation. 21 // WebLayer implementation.
22 void setBounds(const blink::WebSize& bounds) override; 22 void setBounds(const blink::WebSize& bounds) override;
23 void setPosition(const blink::WebFloatPoint& position) override; 23 void setPosition(const blink::WebFloatPoint& position) override;
24 24
25 private: 25 private:
26 Frame* frame_; 26 HTMLFrame* frame_;
27 27
28 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 28 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
29 }; 29 };
30 30
31 } // namespace html_viewer 31 } // namespace html_viewer
32 32
33 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_IMPL_H_ 33 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « components/html_viewer/html_frame_tree_manager_delegate.h ('k') | components/html_viewer/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698