| 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 COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
| 6 #define COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 6 #define COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 blink::WebLocalFrame* frame, | 91 blink::WebLocalFrame* frame, |
| 92 const blink::WebURL& url, | 92 const blink::WebURL& url, |
| 93 blink::WebMediaPlayerClient* client, | 93 blink::WebMediaPlayerClient* client, |
| 94 blink::WebContentDecryptionModule* initial_cdm); | 94 blink::WebContentDecryptionModule* initial_cdm); |
| 95 virtual blink::WebFrame* createChildFrame( | 95 virtual blink::WebFrame* createChildFrame( |
| 96 blink::WebLocalFrame* parent, | 96 blink::WebLocalFrame* parent, |
| 97 blink::WebTreeScopeType scope, | 97 blink::WebTreeScopeType scope, |
| 98 const blink::WebString& frameName, | 98 const blink::WebString& frameName, |
| 99 blink::WebSandboxFlags sandboxFlags); | 99 blink::WebSandboxFlags sandboxFlags); |
| 100 virtual void frameDetached(blink::WebFrame* frame); | 100 virtual void frameDetached(blink::WebFrame* frame); |
| 101 virtual void frameDetached(blink::WebFrame* frame, DetachType type); |
| 101 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); | 102 virtual blink::WebCookieJar* cookieJar(blink::WebLocalFrame* frame); |
| 102 virtual blink::WebNavigationPolicy decidePolicyForNavigation( | 103 virtual blink::WebNavigationPolicy decidePolicyForNavigation( |
| 103 const NavigationPolicyInfo& info); | 104 const NavigationPolicyInfo& info); |
| 104 | 105 |
| 105 virtual void didAddMessageToConsole(const blink::WebConsoleMessage& message, | 106 virtual void didAddMessageToConsole(const blink::WebConsoleMessage& message, |
| 106 const blink::WebString& source_name, | 107 const blink::WebString& source_name, |
| 107 unsigned source_line, | 108 unsigned source_line, |
| 108 const blink::WebString& stack_trace); | 109 const blink::WebString& stack_trace); |
| 109 virtual void didFinishLoad(blink::WebLocalFrame* frame); | 110 virtual void didFinishLoad(blink::WebLocalFrame* frame); |
| 110 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame, | 111 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 scoped_ptr<TouchHandler> touch_handler_; | 164 scoped_ptr<TouchHandler> touch_handler_; |
| 164 | 165 |
| 165 FrameToViewMap frame_to_view_; | 166 FrameToViewMap frame_to_view_; |
| 166 | 167 |
| 167 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); | 168 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); |
| 168 }; | 169 }; |
| 169 | 170 |
| 170 } // namespace html_viewer | 171 } // namespace html_viewer |
| 171 | 172 |
| 172 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ | 173 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ |
| OLD | NEW |