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

Side by Side Diff: mojo/services/html_viewer/html_document_view.h

Issue 393983004: Move mojo/examples/html_viewer to mojo/services/html_viewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_EXAMPLES_HTML_VIEWER_HTML_DOCUMENT_VIEW_H_ 5 #ifndef MOJO_SERVICES_HTML_VIEWER_HTML_DOCUMENT_VIEW_H_
6 #define MOJO_EXAMPLES_HTML_VIEWER_HTML_DOCUMENT_VIEW_H_ 6 #define MOJO_SERVICES_HTML_VIEWER_HTML_DOCUMENT_VIEW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "mojo/public/cpp/application/lazy_interface_ptr.h" 10 #include "mojo/public/cpp/application/lazy_interface_ptr.h"
11 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h" 11 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h"
12 #include "mojo/services/public/cpp/view_manager/view_observer.h" 12 #include "mojo/services/public/cpp/view_manager/view_observer.h"
13 #include "mojo/services/public/interfaces/navigation/navigation.mojom.h" 13 #include "mojo/services/public/interfaces/navigation/navigation.mojom.h"
14 #include "mojo/services/public/interfaces/network/url_loader.mojom.h" 14 #include "mojo/services/public/interfaces/network/url_loader.mojom.h"
15 #include "third_party/WebKit/public/web/WebFrameClient.h" 15 #include "third_party/WebKit/public/web/WebFrameClient.h"
16 #include "third_party/WebKit/public/web/WebViewClient.h" 16 #include "third_party/WebKit/public/web/WebViewClient.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 19
20 namespace view_manager { 20 namespace view_manager {
21 class Node; 21 class Node;
22 class ViewManager; 22 class ViewManager;
23 class View; 23 class View;
24 } 24 }
25 25
26 namespace examples { 26 namespace examples {
darin (slow to review) 2014/07/15 22:17:31 nit: nuke the examples namespace. i think we can j
27 27
28 // A view for a single HTML document. 28 // A view for a single HTML document.
29 class HTMLDocumentView : public blink::WebViewClient, 29 class HTMLDocumentView : public blink::WebViewClient,
30 public blink::WebFrameClient, 30 public blink::WebFrameClient,
31 public view_manager::ViewObserver { 31 public view_manager::ViewObserver {
32 public: 32 public:
33 HTMLDocumentView(ServiceProvider* service_provider, 33 HTMLDocumentView(ServiceProvider* service_provider,
34 view_manager::ViewManager* view_manager); 34 view_manager::ViewManager* view_manager);
35 virtual ~HTMLDocumentView(); 35 virtual ~HTMLDocumentView();
36 36
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 bool repaint_pending_; 73 bool repaint_pending_;
74 LazyInterfacePtr<navigation::NavigatorHost> navigator_host_; 74 LazyInterfacePtr<navigation::NavigatorHost> navigator_host_;
75 75
76 base::WeakPtrFactory<HTMLDocumentView> weak_factory_; 76 base::WeakPtrFactory<HTMLDocumentView> weak_factory_;
77 DISALLOW_COPY_AND_ASSIGN(HTMLDocumentView); 77 DISALLOW_COPY_AND_ASSIGN(HTMLDocumentView);
78 }; 78 };
79 79
80 } // namespace examples 80 } // namespace examples
81 } // namespace mojo 81 } // namespace mojo
82 82
83 #endif // MOJO_EXAMPLES_HTML_VIEWER_HTML_DOCUMENT_VIEW_H_ 83 #endif // MOJO_SERVICES_HTML_VIEWER_HTML_DOCUMENT_VIEW_H_
OLDNEW
« no previous file with comments | « mojo/services/html_viewer/blink_platform_impl.cc ('k') | mojo/services/html_viewer/html_document_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698