| 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/callback.h" | 8 #include "base/callback.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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 void frameDetached(blink::WebFrame*) override; | 81 void frameDetached(blink::WebFrame*) override; |
| 82 blink::WebNavigationPolicy decidePolicyForNavigation( | 82 blink::WebNavigationPolicy decidePolicyForNavigation( |
| 83 const blink::WebFrameClient::NavigationPolicyInfo& info) override; | 83 const blink::WebFrameClient::NavigationPolicyInfo& info) override; |
| 84 void didAddMessageToConsole( | 84 void didAddMessageToConsole( |
| 85 const blink::WebConsoleMessage& message, | 85 const blink::WebConsoleMessage& message, |
| 86 const blink::WebString& source_name, | 86 const blink::WebString& source_name, |
| 87 unsigned source_line, | 87 unsigned source_line, |
| 88 const blink::WebString& stack_trace) override; | 88 const blink::WebString& stack_trace) override; |
| 89 void didCreateScriptContext( | 89 void didCreateScriptContext( |
| 90 blink::WebLocalFrame*, | 90 blink::WebLocalFrame*, |
| 91 v8::Handle<v8::Context>, | 91 v8::Handle<v8::Context>) override; |
| 92 int extensionGroup, | |
| 93 int worldId) override; | |
| 94 | 92 |
| 95 // WebViewClient methods: | 93 // WebViewClient methods: |
| 96 blink::ServiceProvider& services() override; | 94 blink::ServiceProvider& services() override; |
| 97 | 95 |
| 98 // Services methods: | 96 // Services methods: |
| 99 mojo::NavigatorHost* NavigatorHost() override; | 97 mojo::NavigatorHost* NavigatorHost() override; |
| 100 mojo::Shell* Shell() override; | 98 mojo::Shell* Shell() override; |
| 101 | 99 |
| 102 // ViewManagerDelegate methods: | 100 // ViewManagerDelegate methods: |
| 103 void OnEmbed( | 101 void OnEmbed( |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_; | 133 scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_; |
| 136 int debugger_id_; | 134 int debugger_id_; |
| 137 | 135 |
| 138 base::WeakPtrFactory<DocumentView> weak_factory_; | 136 base::WeakPtrFactory<DocumentView> weak_factory_; |
| 139 DISALLOW_COPY_AND_ASSIGN(DocumentView); | 137 DISALLOW_COPY_AND_ASSIGN(DocumentView); |
| 140 }; | 138 }; |
| 141 | 139 |
| 142 } // namespace sky | 140 } // namespace sky |
| 143 | 141 |
| 144 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_ | 142 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_ |
| OLD | NEW |