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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |