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_H_ | 5 #ifndef MOJO_SERVICES_HTML_VIEWER_HTML_DOCUMENT_H_ |
6 #define MOJO_SERVICES_HTML_VIEWER_HTML_DOCUMENT_H_ | 6 #define MOJO_SERVICES_HTML_VIEWER_HTML_DOCUMENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 const blink::WebString& source_name, | 98 const blink::WebString& source_name, |
99 unsigned source_line, | 99 unsigned source_line, |
100 const blink::WebString& stack_trace); | 100 const blink::WebString& stack_trace); |
101 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame, | 101 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame, |
102 const blink::WebHistoryItem& history_item, | 102 const blink::WebHistoryItem& history_item, |
103 blink::WebHistoryCommitType commit_type); | 103 blink::WebHistoryCommitType commit_type); |
104 virtual blink::WebEncryptedMediaClient* encryptedMediaClient(); | 104 virtual blink::WebEncryptedMediaClient* encryptedMediaClient(); |
105 | 105 |
106 // ViewManagerDelegate methods: | 106 // ViewManagerDelegate methods: |
107 void OnEmbed( | 107 void OnEmbed( |
108 mojo::ViewManager* view_manager, | |
109 mojo::View* root, | 108 mojo::View* root, |
110 mojo::ServiceProviderImpl* embedee_service_provider_impl, | 109 mojo::ServiceProviderImpl* embedee_service_provider_impl, |
111 scoped_ptr<mojo::ServiceProvider> embedder_service_provider) override; | 110 scoped_ptr<mojo::ServiceProvider> embedder_service_provider) override; |
112 void OnViewManagerDisconnected(mojo::ViewManager* view_manager) override; | 111 void OnViewManagerDisconnected(mojo::ViewManager* view_manager) override; |
113 | 112 |
114 // ViewObserver methods: | 113 // ViewObserver methods: |
115 void OnViewBoundsChanged(mojo::View* view, | 114 void OnViewBoundsChanged(mojo::View* view, |
116 const mojo::Rect& old_bounds, | 115 const mojo::Rect& old_bounds, |
117 const mojo::Rect& new_bounds) override; | 116 const mojo::Rect& new_bounds) override; |
118 void OnViewDestroyed(mojo::View* view) override; | 117 void OnViewDestroyed(mojo::View* view) override; |
(...skipping 22 matching lines...) Expand all Loading... |
141 | 140 |
142 // HTMLDocument owns these pointers. | 141 // HTMLDocument owns these pointers. |
143 std::set<AxProviderImpl*> ax_provider_impls_; | 142 std::set<AxProviderImpl*> ax_provider_impls_; |
144 | 143 |
145 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); | 144 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); |
146 }; | 145 }; |
147 | 146 |
148 } // namespace html_viewer | 147 } // namespace html_viewer |
149 | 148 |
150 #endif // MOJO_SERVICES_HTML_VIEWER_HTML_DOCUMENT_H_ | 149 #endif // MOJO_SERVICES_HTML_VIEWER_HTML_DOCUMENT_H_ |
OLD | NEW |