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