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

Unified Diff: android_webview/browser/aw_contents_io_thread_client.h

Issue 11348075: [Android WebView] AwContentsClient.shouldCreate window callback part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/aw_contents_io_thread_client.h
diff --git a/android_webview/browser/aw_contents_io_thread_client.h b/android_webview/browser/aw_contents_io_thread_client.h
index 0dd414623db006fad9cc079441187f97612fc37a..f642065e4ba0cf40073c15b6cca8672ed6f0ef0d 100644
--- a/android_webview/browser/aw_contents_io_thread_client.h
+++ b/android_webview/browser/aw_contents_io_thread_client.h
@@ -43,6 +43,14 @@ class AwContentsIoThreadClient {
static scoped_ptr<AwContentsIoThreadClient> FromID(int render_process_id,
int render_view_id);
+ class ReadyObserver {
joth 2012/11/16 06:24:31 docs
benm (inactive) 2012/11/16 12:29:09 Done.
+ public:
+ virtual void OnIoThreadClientReady(int child_id, int route_id) = 0;
+ };
+
mkosiba (inactive) 2012/11/16 12:28:32 I think the usual pattern is to declare ReadyObser
benm (inactive) 2012/11/16 12:36:31 Do you have a precedent? I had a quick look at som
mkosiba (inactive) 2012/11/16 13:55:18 I got the idea from WebContentsObserver being frie
benm (inactive) 2012/11/16 14:00:26 OK, thanks. think i will leave as is then.
+ static void AddReadyObserver(ReadyObserver* obs);
+ static void RemoveReadyObserver(ReadyObserver* obs);
+
// This method is called on the IO thread only.
virtual scoped_ptr<InterceptedRequestData> ShouldInterceptRequest(
const GURL& location,

Powered by Google App Engine
This is Rietveld 408576698