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

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

Issue 358973005: Navigation transitions: Pass is_transition_navigation flag up to the embedder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test 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 | Annotate | Revision Log
« 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 227 const scoped_refptr<net::HttpResponseHeaders>& headers,
228 const GURL& url); 228 const GURL& url);
229 229
230 // This method is invoked when a navigation transition is detected, to 230 // This method is invoked when a navigation transition is detected, to
231 // determine if the embedder intends to handle it. 231 // determine if the embedder intends to handle it.
232 bool WillHandleDeferAfterResponseStarted(); 232 bool WillHandleDeferAfterResponseStarted();
233 233
234 // This method is invoked when a navigation transition has started.
235 void DidStartNavigationTransitionForFrame(int64 frame_id);
236
234 void OnSmartClipDataExtracted(const base::string16& text, 237 void OnSmartClipDataExtracted(const base::string16& text,
235 const base::string16& html, 238 const base::string16& html,
236 const gfx::Rect& clip_rect); 239 const gfx::Rect& clip_rect);
237 240
238 // Creates a popup menu with |items|. 241 // Creates a popup menu with |items|.
239 // |multiple| defines if it should support multi-select. 242 // |multiple| defines if it should support multi-select.
240 // If not |multiple|, |selected_item| sets the initially selected item. 243 // If not |multiple|, |selected_item| sets the initially selected item.
241 // Otherwise, item's "checked" flag selects it. 244 // Otherwise, item's "checked" flag selects it.
242 void ShowSelectPopupMenu(const gfx::Rect& bounds, 245 void ShowSelectPopupMenu(const gfx::Rect& bounds,
243 const std::vector<MenuItem>& items, 246 const std::vector<MenuItem>& items,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 java_bridge_dispatcher_host_; 391 java_bridge_dispatcher_host_;
389 392
390 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 393 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
391 }; 394 };
392 395
393 bool RegisterContentViewCore(JNIEnv* env); 396 bool RegisterContentViewCore(JNIEnv* env);
394 397
395 } // namespace content 398 } // namespace content
396 399
397 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 400 #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