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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 435833002: Navigation transitions: Plumb data from the outgoing renderer to the incoming renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Testfix 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 blink::WebIconURL::Type icon_type); 327 blink::WebIconURL::Type icon_type);
328 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame); 328 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame);
329 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame); 329 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame);
330 virtual void didFailLoad(blink::WebLocalFrame* frame, 330 virtual void didFailLoad(blink::WebLocalFrame* frame,
331 const blink::WebURLError& error); 331 const blink::WebURLError& error);
332 virtual void didFinishLoad(blink::WebLocalFrame* frame); 332 virtual void didFinishLoad(blink::WebLocalFrame* frame);
333 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame, 333 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame,
334 const blink::WebHistoryItem& item, 334 const blink::WebHistoryItem& item,
335 blink::WebHistoryCommitType commit_type); 335 blink::WebHistoryCommitType commit_type);
336 virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame); 336 virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame);
337 virtual void addNavigationTransitionData(
338 const blink::WebString& allowedDestinationOrigin,
339 const blink::WebString& selector,
340 const blink::WebString& markup);
337 virtual void didChangeThemeColor(); 341 virtual void didChangeThemeColor();
338 virtual void requestNotificationPermission( 342 virtual void requestNotificationPermission(
339 const blink::WebSecurityOrigin& origin, 343 const blink::WebSecurityOrigin& origin,
340 blink::WebNotificationPermissionCallback* callback); 344 blink::WebNotificationPermissionCallback* callback);
341 virtual blink::WebNotificationPresenter* notificationPresenter(); 345 virtual blink::WebNotificationPresenter* notificationPresenter();
342 virtual void didChangeSelection(bool is_empty_selection); 346 virtual void didChangeSelection(bool is_empty_selection);
343 virtual blink::WebColorChooser* createColorChooser( 347 virtual blink::WebColorChooser* createColorChooser(
344 blink::WebColorChooserClient* client, 348 blink::WebColorChooserClient* client,
345 const blink::WebColor& initial_color, 349 const blink::WebColor& initial_color,
346 const blink::WebVector<blink::WebColorSuggestion>& suggestions); 350 const blink::WebVector<blink::WebColorSuggestion>& suggestions);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 int id, 493 int id,
490 bool notify_result); 494 bool notify_result);
491 void OnSetEditableSelectionOffsets(int start, int end); 495 void OnSetEditableSelectionOffsets(int start, int end);
492 void OnSetCompositionFromExistingText( 496 void OnSetCompositionFromExistingText(
493 int start, int end, 497 int start, int end,
494 const std::vector<blink::WebCompositionUnderline>& underlines); 498 const std::vector<blink::WebCompositionUnderline>& underlines);
495 void OnExtendSelectionAndDelete(int before, int after); 499 void OnExtendSelectionAndDelete(int before, int after);
496 void OnReload(bool ignore_cache); 500 void OnReload(bool ignore_cache);
497 void OnTextSurroundingSelectionRequest(size_t max_length); 501 void OnTextSurroundingSelectionRequest(size_t max_length);
498 void OnAddStyleSheetByURL(const std::string& url); 502 void OnAddStyleSheetByURL(const std::string& url);
503 void OnSetupTransitionView(const std::string& markup);
504 void OnBeginExitTransition(const std::string& css_selector);
499 void OnSetAccessibilityMode(AccessibilityMode new_mode); 505 void OnSetAccessibilityMode(AccessibilityMode new_mode);
500 #if defined(OS_MACOSX) 506 #if defined(OS_MACOSX)
501 void OnCopyToFindPboard(); 507 void OnCopyToFindPboard();
502 #endif 508 #endif
503 509
504 // Virtual since overridden by WebTestProxy for layout tests. 510 // Virtual since overridden by WebTestProxy for layout tests.
505 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( 511 virtual blink::WebNavigationPolicy DecidePolicyForNavigation(
506 RenderFrame* render_frame, 512 RenderFrame* render_frame,
507 const NavigationPolicyInfo& info); 513 const NavigationPolicyInfo& info);
508 void OpenURL(blink::WebFrame* frame, 514 void OpenURL(blink::WebFrame* frame,
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 RendererAccessibility* renderer_accessibility_; 698 RendererAccessibility* renderer_accessibility_;
693 699
694 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 700 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
695 701
696 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 702 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
697 }; 703 };
698 704
699 } // namespace content 705 } // namespace content
700 706
701 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 707 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698