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

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: 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 int id, 496 int id,
493 bool notify_result); 497 bool notify_result);
494 void OnSetEditableSelectionOffsets(int start, int end); 498 void OnSetEditableSelectionOffsets(int start, int end);
495 void OnSetCompositionFromExistingText( 499 void OnSetCompositionFromExistingText(
496 int start, int end, 500 int start, int end,
497 const std::vector<blink::WebCompositionUnderline>& underlines); 501 const std::vector<blink::WebCompositionUnderline>& underlines);
498 void OnExtendSelectionAndDelete(int before, int after); 502 void OnExtendSelectionAndDelete(int before, int after);
499 void OnReload(bool ignore_cache); 503 void OnReload(bool ignore_cache);
500 void OnTextSurroundingSelectionRequest(size_t max_length); 504 void OnTextSurroundingSelectionRequest(size_t max_length);
501 void OnAddStyleSheetByURL(const std::string& url); 505 void OnAddStyleSheetByURL(const std::string& url);
506 void OnSetupTransitionView(const std::string& markup);
507 void OnBeginExitTransition(const std::string& css_selector);
502 void OnSetAccessibilityMode(AccessibilityMode new_mode); 508 void OnSetAccessibilityMode(AccessibilityMode new_mode);
503 #if defined(OS_MACOSX) 509 #if defined(OS_MACOSX)
504 void OnCopyToFindPboard(); 510 void OnCopyToFindPboard();
505 #endif 511 #endif
506 512
507 // Virtual since overridden by WebTestProxy for layout tests. 513 // Virtual since overridden by WebTestProxy for layout tests.
508 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( 514 virtual blink::WebNavigationPolicy DecidePolicyForNavigation(
509 RenderFrame* render_frame, 515 RenderFrame* render_frame,
510 const NavigationPolicyInfo& info); 516 const NavigationPolicyInfo& info);
511 void OpenURL(blink::WebFrame* frame, 517 void OpenURL(blink::WebFrame* frame,
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 RendererAccessibility* renderer_accessibility_; 701 RendererAccessibility* renderer_accessibility_;
696 702
697 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 703 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
698 704
699 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 705 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
700 }; 706 };
701 707
702 } // namespace content 708 } // namespace content
703 709
704 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 710 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698