| OLD | NEW |
| 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 // The frame's manifest has changed. | 306 // The frame's manifest has changed. |
| 307 virtual void didChangeManifest(WebLocalFrame*) { } | 307 virtual void didChangeManifest(WebLocalFrame*) { } |
| 308 | 308 |
| 309 // The frame's theme color has changed. | 309 // The frame's theme color has changed. |
| 310 virtual void didChangeThemeColor() { } | 310 virtual void didChangeThemeColor() { } |
| 311 | 311 |
| 312 | 312 |
| 313 // Transition navigations ----------------------------------------------- | 313 // Transition navigations ----------------------------------------------- |
| 314 | 314 |
| 315 // Provides serialized markup of transition elements for use in the followin
g navigation. | 315 // Provides serialized markup of transition elements for use in the followin
g navigation. |
| 316 virtual void addNavigationTransitionData(const WebString& allowedDestination
Origin, const WebString& selector, const WebString& markup) { } | 316 virtual void addNavigationTransitionData( |
| 317 const WebString& allowedDestinationOrigin, const WebString& selector, |
| 318 const WebString& markup, const WebVector<WebString>& names, |
| 319 const WebVector<WebRect>& rects) { } |
| 317 | 320 |
| 318 | 321 |
| 319 // Web Notifications --------------------------------------------------- | 322 // Web Notifications --------------------------------------------------- |
| 320 | 323 |
| 321 // 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. |
| 322 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti
ficationPermissionCallback* callback) { } | 325 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti
ficationPermissionCallback* callback) { } |
| 323 | 326 |
| 324 // Called to retrieve the provider of desktop notifications. | 327 // Called to retrieve the provider of desktop notifications. |
| 325 // FIXME: Remove this method once the presenter is obtained through Platform
. | 328 // FIXME: Remove this method once the presenter is obtained through Platform
. |
| 326 virtual WebNotificationPresenter* notificationPresenter() { return 0; } | 329 virtual WebNotificationPresenter* notificationPresenter() { return 0; } |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 // ServiceWorker. | 575 // ServiceWorker. |
| 573 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } | 576 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } |
| 574 | 577 |
| 575 protected: | 578 protected: |
| 576 virtual ~WebFrameClient() { } | 579 virtual ~WebFrameClient() { } |
| 577 }; | 580 }; |
| 578 | 581 |
| 579 } // namespace blink | 582 } // namespace blink |
| 580 | 583 |
| 581 #endif | 584 #endif |
| OLD | NEW |