OLD | NEW |
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_SERVICES_HTML_VIEWER_HTML_DOCUMENT_VIEW_H_ | 5 #ifndef MOJO_SERVICES_HTML_VIEWER_HTML_DOCUMENT_VIEW_H_ |
6 #define MOJO_SERVICES_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" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 const gfx::Rect& new_bounds) OVERRIDE; | 69 const gfx::Rect& new_bounds) OVERRIDE; |
70 virtual void OnNodeDestroyed(Node* node) OVERRIDE; | 70 virtual void OnNodeDestroyed(Node* node) OVERRIDE; |
71 | 71 |
72 void Repaint(); | 72 void Repaint(); |
73 | 73 |
74 ViewManager* view_manager_; | 74 ViewManager* view_manager_; |
75 View* view_; | 75 View* view_; |
76 blink::WebView* web_view_; | 76 blink::WebView* web_view_; |
77 Node* root_; | 77 Node* root_; |
78 bool repaint_pending_; | 78 bool repaint_pending_; |
79 LazyInterfacePtr<navigation::NavigatorHost> navigator_host_; | 79 LazyInterfacePtr<NavigatorHost> navigator_host_; |
80 | 80 |
81 base::WeakPtrFactory<HTMLDocumentView> weak_factory_; | 81 base::WeakPtrFactory<HTMLDocumentView> weak_factory_; |
82 DISALLOW_COPY_AND_ASSIGN(HTMLDocumentView); | 82 DISALLOW_COPY_AND_ASSIGN(HTMLDocumentView); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace mojo | 85 } // namespace mojo |
86 | 86 |
87 #endif // MOJO_SERVICES_HTML_VIEWER_HTML_DOCUMENT_VIEW_H_ | 87 #endif // MOJO_SERVICES_HTML_VIEWER_HTML_DOCUMENT_VIEW_H_ |
OLD | NEW |