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

Side by Side Diff: components/web_view/public/cpp/web_view.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/web_view/frame_tree_delegate.h ('k') | components/web_view/public/cpp/web_view.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_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_ 5 #ifndef COMPONENTS_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_
6 #define COMPONENTS_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_ 6 #define COMPONENTS_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "components/web_view/public/interfaces/web_view.mojom.h" 10 #include "components/web_view/public/interfaces/web_view.mojom.h"
11 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 class ApplicationImpl; 14 class ApplicationImpl;
15 }
16
17 namespace mus {
18 class View; 15 class View;
19 } 16 }
20 17
21 namespace web_view { 18 namespace web_view {
22 19
23 class WebView { 20 class WebView {
24 public: 21 public:
25 explicit WebView(mojom::WebViewClient* client); 22 explicit WebView(mojom::WebViewClient* client);
26 ~WebView(); 23 ~WebView();
27 24
28 void Init(mojo::ApplicationImpl* app, mus::View* view); 25 void Init(mojo::ApplicationImpl* app, mojo::View* view);
29 26
30 mojom::WebView* web_view() { return web_view_.get(); } 27 mojom::WebView* web_view() { return web_view_.get(); }
31 28
32 private: 29 private:
33 mojom::WebViewPtr web_view_; 30 mojom::WebViewPtr web_view_;
34 mojo::Binding<mojom::WebViewClient> binding_; 31 mojo::Binding<mojom::WebViewClient> binding_;
35 32
36 DISALLOW_COPY_AND_ASSIGN(WebView); 33 DISALLOW_COPY_AND_ASSIGN(WebView);
37 }; 34 };
38 35
39 } // namespace web_view 36 } // namespace web_view
40 37
41 #endif // COMPONENTS_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_ 38 #endif // COMPONENTS_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_
OLDNEW
« no previous file with comments | « components/web_view/frame_tree_delegate.h ('k') | components/web_view/public/cpp/web_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698