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

Side by Side Diff: android_webview/browser/aw_content_browser_client.h

Issue 1086283002: Track frame openers in FrameTreeNodes instead of WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Second round of feedback 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
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "android_webview/browser/aw_web_preferences_populater.h" 8 #include "android_webview/browser/aw_web_preferences_populater.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const GURL& source_origin, 110 const GURL& source_origin,
111 WindowContainerType container_type, 111 WindowContainerType container_type,
112 const GURL& target_url, 112 const GURL& target_url,
113 const content::Referrer& referrer, 113 const content::Referrer& referrer,
114 WindowOpenDisposition disposition, 114 WindowOpenDisposition disposition,
115 const blink::WebWindowFeatures& features, 115 const blink::WebWindowFeatures& features,
116 bool user_gesture, 116 bool user_gesture,
117 bool opener_suppressed, 117 bool opener_suppressed,
118 content::ResourceContext* context, 118 content::ResourceContext* context,
119 int render_process_id, 119 int render_process_id,
120 int opener_id, 120 int opener_render_view_id,
121 int opener_render_frame_id,
121 bool* no_javascript_access) override; 122 bool* no_javascript_access) override;
122 void ResourceDispatcherHostCreated() override; 123 void ResourceDispatcherHostCreated() override;
123 net::NetLog* GetNetLog() override; 124 net::NetLog* GetNetLog() override;
124 content::AccessTokenStore* CreateAccessTokenStore() override; 125 content::AccessTokenStore* CreateAccessTokenStore() override;
125 bool IsFastShutdownPossible() override; 126 bool IsFastShutdownPossible() override;
126 void ClearCache(content::RenderFrameHost* rfh) override; 127 void ClearCache(content::RenderFrameHost* rfh) override;
127 void ClearCookies(content::RenderFrameHost* rfh) override; 128 void ClearCookies(content::RenderFrameHost* rfh) override;
128 base::FilePath GetDefaultDownloadDirectory() override; 129 base::FilePath GetDefaultDownloadDirectory() override;
129 std::string GetDefaultDownloadName() override; 130 std::string GetDefaultDownloadName() override;
130 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; 131 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override;
(...skipping 17 matching lines...) Expand all
148 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; 149 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_;
149 150
150 JniDependencyFactory* native_factory_; 151 JniDependencyFactory* native_factory_;
151 152
152 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 153 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
153 }; 154 };
154 155
155 } // namespace android_webview 156 } // namespace android_webview
156 157
157 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 158 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698