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

Side by Side Diff: public/web/WebFrameClient.h

Issue 721973002: Navigation transitions (web to native app): Get names and rects of transition elements (Step 4) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review fix Created 6 years, 1 month 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 | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 312
313 // The frame's theme color has changed. 313 // The frame's theme color has changed.
314 virtual void didChangeThemeColor() { } 314 virtual void didChangeThemeColor() { }
315 315
316 316
317 // Transition navigations ----------------------------------------------- 317 // Transition navigations -----------------------------------------------
318 318
319 // Provides serialized markup of transition elements for use in the followin g navigation. 319 // Provides serialized markup of transition elements for use in the followin g navigation.
320 virtual void addNavigationTransitionData(const WebTransitionElementData&) { } 320 virtual void addNavigationTransitionData(const WebTransitionElementData&) { }
321 321
322 // FIXME: remove the following two addNavigationTransitionData() functions a fter the chrome side is done.
323 virtual void addNavigationTransitionData(const WebString& allowedDestination Origin, const WebString& selector, const WebString& markup) { }
324 virtual void addNavigationTransitionData(const WebString& allowedDestination Origin, const WebString& selector, const WebString& markup, const WebVector<WebS tring>& ids, const WebVector<WebRect>& rects) { }
325
326
327 // Web Notifications --------------------------------------------------- 322 // Web Notifications ---------------------------------------------------
328 323
329 // Requests permission to display platform notifications on the origin of th is frame. 324 // Requests permission to display platform notifications on the origin of th is frame.
330 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti ficationPermissionCallback* callback) { } 325 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti ficationPermissionCallback* callback) { }
331 326
332 // Called to retrieve the provider of desktop notifications. 327 // Called to retrieve the provider of desktop notifications.
333 // FIXME: Remove this method once the presenter is obtained through Platform . 328 // FIXME: Remove this method once the presenter is obtained through Platform .
334 virtual WebNotificationPresenter* notificationPresenter() { return 0; } 329 virtual WebNotificationPresenter* notificationPresenter() { return 0; }
335 330
336 331
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 // associated with the WebDataSource. 589 // associated with the WebDataSource.
595 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } 590 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; }
596 591
597 protected: 592 protected:
598 virtual ~WebFrameClient() { } 593 virtual ~WebFrameClient() { }
599 }; 594 };
600 595
601 } // namespace blink 596 } // namespace blink
602 597
603 #endif 598 #endif
OLDNEW
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698