| 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 SKY_VIEWER_DOCUMENT_VIEW_H_ | 5 #ifndef SKY_VIEWER_DOCUMENT_VIEW_H_ |
| 6 #define SKY_VIEWER_DOCUMENT_VIEW_H_ | 6 #define SKY_VIEWER_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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 const blink::WebString& source_name, | 77 const blink::WebString& source_name, |
| 78 unsigned source_line, | 78 unsigned source_line, |
| 79 const blink::WebString& stack_trace) override; | 79 const blink::WebString& stack_trace) override; |
| 80 void didCreateScriptContext( | 80 void didCreateScriptContext( |
| 81 blink::WebLocalFrame*, | 81 blink::WebLocalFrame*, |
| 82 v8::Handle<v8::Context>, | 82 v8::Handle<v8::Context>, |
| 83 int extensionGroup, | 83 int extensionGroup, |
| 84 int worldId) override; | 84 int worldId) override; |
| 85 | 85 |
| 86 // WebViewClient methods: | 86 // WebViewClient methods: |
| 87 blink::ServiceProvider* services() override; | 87 blink::ServiceProvider& services() override; |
| 88 | 88 |
| 89 // Services methods: | 89 // Services methods: |
| 90 mojo::NavigatorHost* NavigatorHost() override; | 90 mojo::NavigatorHost* NavigatorHost() override; |
| 91 | 91 |
| 92 // ViewManagerDelegate methods: | 92 // ViewManagerDelegate methods: |
| 93 void OnEmbed( | 93 void OnEmbed( |
| 94 mojo::ViewManager* view_manager, | 94 mojo::ViewManager* view_manager, |
| 95 mojo::View* root, | 95 mojo::View* root, |
| 96 mojo::ServiceProviderImpl* exported_services, | 96 mojo::ServiceProviderImpl* exported_services, |
| 97 scoped_ptr<mojo::ServiceProvider> imported_services) override; | 97 scoped_ptr<mojo::ServiceProvider> imported_services) override; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 119 scoped_refptr<base::MessageLoopProxy> compositor_thread_; | 119 scoped_refptr<base::MessageLoopProxy> compositor_thread_; |
| 120 scoped_ptr<ScriptRunner> script_runner_; | 120 scoped_ptr<ScriptRunner> script_runner_; |
| 121 | 121 |
| 122 base::WeakPtrFactory<DocumentView> weak_factory_; | 122 base::WeakPtrFactory<DocumentView> weak_factory_; |
| 123 DISALLOW_COPY_AND_ASSIGN(DocumentView); | 123 DISALLOW_COPY_AND_ASSIGN(DocumentView); |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 } // namespace sky | 126 } // namespace sky |
| 127 | 127 |
| 128 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_ | 128 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_ |
| OLD | NEW |