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

Side by Side Diff: android_webview/browser/renderer_host/aw_render_view_host_ext.cc

Issue 2812703003: aw: Remove global AllowWait on UI thread (Closed)
Patch Set: future Created 3 years, 8 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 (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 #include "android_webview/browser/renderer_host/aw_render_view_host_ext.h" 5 #include "android_webview/browser/renderer_host/aw_render_view_host_ext.h"
6 6
7 #include "android_webview/browser/aw_browser_context.h" 7 #include "android_webview/browser/aw_browser_context.h"
8 #include "android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h"
9 #include "android_webview/common/render_view_messages.h" 8 #include "android_webview/common/render_view_messages.h"
10 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
11 #include "base/callback.h" 10 #include "base/callback.h"
12 #include "base/command_line.h" 11 #include "base/command_line.h"
13 #include "base/logging.h" 12 #include "base/logging.h"
14 #include "components/web_restrictions/browser/web_restrictions_mojo_implementati on.h" 13 #include "components/web_restrictions/browser/web_restrictions_mojo_implementati on.h"
15 #include "content/public/browser/android/content_view_core.h" 14 #include "content/public/browser/android/content_view_core.h"
16 #include "content/public/browser/navigation_handle.h" 15 #include "content/public/browser/navigation_handle.h"
17 #include "content/public/browser/render_frame_host.h" 16 #include "content/public/browser/render_frame_host.h"
18 #include "content/public/browser/render_process_host.h" 17 #include "content/public/browser/render_process_host.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 content::RenderFrameHost* render_frame_host, 232 content::RenderFrameHost* render_frame_host,
234 const gfx::Size& contents_size) { 233 const gfx::Size& contents_size) {
235 // Only makes sense coming from the main frame of the current frame tree. 234 // Only makes sense coming from the main frame of the current frame tree.
236 if (render_frame_host != web_contents()->GetMainFrame()) 235 if (render_frame_host != web_contents()->GetMainFrame())
237 return; 236 return;
238 237
239 client_->OnWebLayoutContentsSizeChanged(contents_size); 238 client_->OnWebLayoutContentsSizeChanged(contents_size);
240 } 239 }
241 240
242 } // namespace android_webview 241 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/find_helper.cc ('k') | android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698