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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 387703004: Navigation transitions: Parse out transition-entering-stylesheet link headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit fix Created 6 years, 4 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 | content/browser/android/content_view_core_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 void SetHasPendingNavigationTransitionForTesting(JNIEnv* env, jobject obj); 216 void SetHasPendingNavigationTransitionForTesting(JNIEnv* env, jobject obj);
217 217
218 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj); 218 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj);
219 219
220 // -------------------------------------------------------------------------- 220 // --------------------------------------------------------------------------
221 // Public methods that call to Java via JNI 221 // Public methods that call to Java via JNI
222 // -------------------------------------------------------------------------- 222 // --------------------------------------------------------------------------
223 223
224 // This method is invoked when the request is deferred immediately after 224 // This method is invoked when the request is deferred immediately after
225 // receiving response headers. 225 // receiving response headers.
226 void DidDeferAfterResponseStarted(); 226 void DidDeferAfterResponseStarted(
227 const scoped_refptr<net::HttpResponseHeaders>& headers,
228 const GURL& url);
227 229
228 // This method is invoked when a navigation transition is detected, to 230 // This method is invoked when a navigation transition is detected, to
229 // determine if the embedder intends to handle it. 231 // determine if the embedder intends to handle it.
230 bool WillHandleDeferAfterResponseStarted(); 232 bool WillHandleDeferAfterResponseStarted();
231 233
232 void OnSmartClipDataExtracted(const base::string16& text, 234 void OnSmartClipDataExtracted(const base::string16& text,
233 const base::string16& html, 235 const base::string16& html,
234 const gfx::Rect& clip_rect); 236 const gfx::Rect& clip_rect);
235 237
236 // Creates a popup menu with |items|. 238 // Creates a popup menu with |items|.
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 java_bridge_dispatcher_host_; 388 java_bridge_dispatcher_host_;
387 389
388 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 390 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
389 }; 391 };
390 392
391 bool RegisterContentViewCore(JNIEnv* env); 393 bool RegisterContentViewCore(JNIEnv* env);
392 394
393 } // namespace content 395 } // namespace content
394 396
395 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 397 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698