| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "WebNavigationType.h" | 44 #include "WebNavigationType.h" |
| 45 #include "WebNavigatorContentUtilsClient.h" | 45 #include "WebNavigatorContentUtilsClient.h" |
| 46 #include "WebSandboxFlags.h" | 46 #include "WebSandboxFlags.h" |
| 47 #include "WebTextDirection.h" | 47 #include "WebTextDirection.h" |
| 48 #include "public/platform/BlameContext.h" | 48 #include "public/platform/BlameContext.h" |
| 49 #include "public/platform/WebCommon.h" | 49 #include "public/platform/WebCommon.h" |
| 50 #include "public/platform/WebEffectiveConnectionType.h" | 50 #include "public/platform/WebEffectiveConnectionType.h" |
| 51 #include "public/platform/WebFileSystem.h" | 51 #include "public/platform/WebFileSystem.h" |
| 52 #include "public/platform/WebFileSystemType.h" | 52 #include "public/platform/WebFileSystemType.h" |
| 53 #include "public/platform/WebLoadingBehaviorFlag.h" | 53 #include "public/platform/WebLoadingBehaviorFlag.h" |
| 54 #include "public/platform/WebPageVisibilityState.h" |
| 54 #include "public/platform/WebSecurityOrigin.h" | 55 #include "public/platform/WebSecurityOrigin.h" |
| 55 #include "public/platform/WebSetSinkIdCallbacks.h" | 56 #include "public/platform/WebSetSinkIdCallbacks.h" |
| 56 #include "public/platform/WebStorageQuotaCallbacks.h" | 57 #include "public/platform/WebStorageQuotaCallbacks.h" |
| 57 #include "public/platform/WebStorageQuotaType.h" | 58 #include "public/platform/WebStorageQuotaType.h" |
| 58 #include "public/platform/WebURLError.h" | 59 #include "public/platform/WebURLError.h" |
| 59 #include "public/platform/WebURLRequest.h" | 60 #include "public/platform/WebURLRequest.h" |
| 60 #include "public/web/WebContentSecurityPolicy.h" | 61 #include "public/web/WebContentSecurityPolicy.h" |
| 61 #include <v8.h> | 62 #include <v8.h> |
| 62 | 63 |
| 63 namespace blink { | 64 namespace blink { |
| (...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 { | 698 { |
| 698 if (callbacks) { | 699 if (callbacks) { |
| 699 callbacks->onError(WebSetSinkIdError::NotSupported); | 700 callbacks->onError(WebSetSinkIdError::NotSupported); |
| 700 delete callbacks; | 701 delete callbacks; |
| 701 } | 702 } |
| 702 } | 703 } |
| 703 | 704 |
| 704 // Mojo ---------------------------------------------------------------- | 705 // Mojo ---------------------------------------------------------------- |
| 705 virtual ServiceRegistry* serviceRegistry() { return nullptr; } | 706 virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
| 706 | 707 |
| 708 // Visibility ---------------------------------------------------------- |
| 709 |
| 710 // Returns the current visibility of the WebFrame. |
| 711 virtual WebPageVisibilityState visibilityState() const |
| 712 { |
| 713 return WebPageVisibilityStateVisible; |
| 714 } |
| 715 |
| 707 protected: | 716 protected: |
| 708 virtual ~WebFrameClient() { } | 717 virtual ~WebFrameClient() { } |
| 709 }; | 718 }; |
| 710 | 719 |
| 711 } // namespace blink | 720 } // namespace blink |
| 712 | 721 |
| 713 #endif | 722 #endif |
| OLD | NEW |