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

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: Created 6 years, 5 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
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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 // -------------------------------------------------------------------------- 245 // --------------------------------------------------------------------------
246 246
247 // This method is invoked when the request is deferred immediately after 247 // This method is invoked when the request is deferred immediately after
248 // receiving response headers. 248 // receiving response headers.
249 void DidDeferAfterResponseStarted(); 249 void DidDeferAfterResponseStarted();
250 250
251 // This method is invoked when a navigation transition is detected, to 251 // This method is invoked when a navigation transition is detected, to
252 // determine if the embedder intends to handle it. 252 // determine if the embedder intends to handle it.
253 bool WillHandleDeferAfterResponseStarted(); 253 bool WillHandleDeferAfterResponseStarted();
254 254
255 // This method is invoked when a navigation transition has started.
256 void DidStartNavigationTransitionForFrame(int64 frame_id);
257
255 void OnSmartClipDataExtracted(const gfx::Rect& clip_rect, 258 void OnSmartClipDataExtracted(const gfx::Rect& clip_rect,
256 const base::string16& result); 259 const base::string16& result);
257 260
258 // Creates a popup menu with |items|. 261 // Creates a popup menu with |items|.
259 // |multiple| defines if it should support multi-select. 262 // |multiple| defines if it should support multi-select.
260 // If not |multiple|, |selected_item| sets the initially selected item. 263 // If not |multiple|, |selected_item| sets the initially selected item.
261 // Otherwise, item's "checked" flag selects it. 264 // Otherwise, item's "checked" flag selects it.
262 void ShowSelectPopupMenu(const gfx::Rect& bounds, 265 void ShowSelectPopupMenu(const gfx::Rect& bounds,
263 const std::vector<MenuItem>& items, 266 const std::vector<MenuItem>& items,
264 int selected_item, 267 int selected_item,
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 java_bridge_dispatcher_host_manager_; 407 java_bridge_dispatcher_host_manager_;
405 408
406 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 409 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
407 }; 410 };
408 411
409 bool RegisterContentViewCore(JNIEnv* env); 412 bool RegisterContentViewCore(JNIEnv* env);
410 413
411 } // namespace content 414 } // namespace content
412 415
413 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 416 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698