| 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 | 361 |
| 362 // The frame's theme color has changed. | 362 // The frame's theme color has changed. |
| 363 virtual void didChangeThemeColor() { } | 363 virtual void didChangeThemeColor() { } |
| 364 | 364 |
| 365 // Called to dispatch a load event for this frame in the FrameOwner of an | 365 // Called to dispatch a load event for this frame in the FrameOwner of an |
| 366 // out-of-process parent frame. | 366 // out-of-process parent frame. |
| 367 virtual void dispatchLoad() { } | 367 virtual void dispatchLoad() { } |
| 368 | 368 |
| 369 // Returns the effective connection type when the frame was fetched. | 369 // Returns the effective connection type when the frame was fetched. |
| 370 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } | 370 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } |
| 371 | 371 virtual void setEffectiveConnectionTypeOverride(blink::WebEffectiveConnectio
nType) {} |
| 372 virtual void clearEffectiveConnectionTypeOverride() {} |
| 372 | 373 |
| 373 // Push API --------------------------------------------------- | 374 // Push API --------------------------------------------------- |
| 374 | 375 |
| 375 // Used to access the embedder for the Push API. | 376 // Used to access the embedder for the Push API. |
| 376 virtual WebPushClient* pushClient() { return 0; } | 377 virtual WebPushClient* pushClient() { return 0; } |
| 377 | 378 |
| 378 | 379 |
| 379 // Presentation API ---------------------------------------------------- | 380 // Presentation API ---------------------------------------------------- |
| 380 | 381 |
| 381 // Used to access the embedder for the Presentation API. | 382 // Used to access the embedder for the Presentation API. |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 return WebURL(); | 695 return WebURL(); |
| 695 } | 696 } |
| 696 | 697 |
| 697 protected: | 698 protected: |
| 698 virtual ~WebFrameClient() { } | 699 virtual ~WebFrameClient() { } |
| 699 }; | 700 }; |
| 700 | 701 |
| 701 } // namespace blink | 702 } // namespace blink |
| 702 | 703 |
| 703 #endif | 704 #endif |
| OLD | NEW |