Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Side by Side Diff: components/html_viewer/html_document.h

Issue 1149793002: Detach old frame on WebFrame::swap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: print Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <set> 8 #include <set>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
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*); 100 virtual void frameDetached(blink::WebFrame*);
101 virtual void frameDetached(blink::WebFrame*, blink::WebDetachReason);
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 blink::WebLocalFrame* frame, 104 blink::WebLocalFrame* frame,
104 blink::WebDataSource::ExtraData* data, 105 blink::WebDataSource::ExtraData* data,
105 const blink::WebURLRequest& request, 106 const blink::WebURLRequest& request,
106 blink::WebNavigationType nav_type, 107 blink::WebNavigationType nav_type,
107 blink::WebNavigationPolicy default_policy, 108 blink::WebNavigationPolicy default_policy,
108 bool isRedirect); 109 bool isRedirect);
109 virtual void didAddMessageToConsole(const blink::WebConsoleMessage& message, 110 virtual void didAddMessageToConsole(const blink::WebConsoleMessage& message,
110 const blink::WebString& source_name, 111 const blink::WebString& source_name,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 Setup* setup_; 170 Setup* setup_;
170 171
171 scoped_ptr<TouchHandler> touch_handler_; 172 scoped_ptr<TouchHandler> touch_handler_;
172 173
173 DISALLOW_COPY_AND_ASSIGN(HTMLDocument); 174 DISALLOW_COPY_AND_ASSIGN(HTMLDocument);
174 }; 175 };
175 176
176 } // namespace html_viewer 177 } // namespace html_viewer
177 178
178 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_ 179 #endif // COMPONENTS_HTML_VIEWER_HTML_DOCUMENT_H_
OLDNEW
« no previous file with comments | « no previous file | components/html_viewer/html_document.cc » ('j') | components/html_viewer/html_document.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698