| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "WebNavigatorContentUtilsClient.h" | 46 #include "WebNavigatorContentUtilsClient.h" |
| 47 #include "WebSandboxFlags.h" | 47 #include "WebSandboxFlags.h" |
| 48 #include "WebTextDirection.h" | 48 #include "WebTextDirection.h" |
| 49 #include "public/platform/BlameContext.h" | 49 #include "public/platform/BlameContext.h" |
| 50 #include "public/platform/WebCommon.h" | 50 #include "public/platform/WebCommon.h" |
| 51 #include "public/platform/WebEffectiveConnectionType.h" | 51 #include "public/platform/WebEffectiveConnectionType.h" |
| 52 #include "public/platform/WebFileSystem.h" | 52 #include "public/platform/WebFileSystem.h" |
| 53 #include "public/platform/WebFileSystemType.h" | 53 #include "public/platform/WebFileSystemType.h" |
| 54 #include "public/platform/WebInsecureRequestPolicy.h" | 54 #include "public/platform/WebInsecureRequestPolicy.h" |
| 55 #include "public/platform/WebLoadingBehaviorFlag.h" | 55 #include "public/platform/WebLoadingBehaviorFlag.h" |
| 56 #include "public/platform/WebPageVisibilityState.h" |
| 56 #include "public/platform/WebSecurityOrigin.h" | 57 #include "public/platform/WebSecurityOrigin.h" |
| 57 #include "public/platform/WebSetSinkIdCallbacks.h" | 58 #include "public/platform/WebSetSinkIdCallbacks.h" |
| 58 #include "public/platform/WebStorageQuotaCallbacks.h" | 59 #include "public/platform/WebStorageQuotaCallbacks.h" |
| 59 #include "public/platform/WebStorageQuotaType.h" | 60 #include "public/platform/WebStorageQuotaType.h" |
| 60 #include "public/platform/WebURLError.h" | 61 #include "public/platform/WebURLError.h" |
| 61 #include "public/platform/WebURLRequest.h" | 62 #include "public/platform/WebURLRequest.h" |
| 62 #include "public/web/WebContentSecurityPolicy.h" | 63 #include "public/web/WebContentSecurityPolicy.h" |
| 63 #include <v8.h> | 64 #include <v8.h> |
| 64 | 65 |
| 65 namespace blink { | 66 namespace blink { |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 { | 712 { |
| 712 if (callbacks) { | 713 if (callbacks) { |
| 713 callbacks->onError(WebSetSinkIdError::NotSupported); | 714 callbacks->onError(WebSetSinkIdError::NotSupported); |
| 714 delete callbacks; | 715 delete callbacks; |
| 715 } | 716 } |
| 716 } | 717 } |
| 717 | 718 |
| 718 // Mojo ---------------------------------------------------------------- | 719 // Mojo ---------------------------------------------------------------- |
| 719 virtual ServiceRegistry* serviceRegistry() { return nullptr; } | 720 virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
| 720 | 721 |
| 722 // Visibility ---------------------------------------------------------- |
| 723 |
| 724 // Returns the current visibility of the WebFrame. |
| 725 virtual WebPageVisibilityState visibilityState() const |
| 726 { |
| 727 return WebPageVisibilityStateVisible; |
| 728 } |
| 729 |
| 721 protected: | 730 protected: |
| 722 virtual ~WebFrameClient() { } | 731 virtual ~WebFrameClient() { } |
| 723 }; | 732 }; |
| 724 | 733 |
| 725 } // namespace blink | 734 } // namespace blink |
| 726 | 735 |
| 727 #endif | 736 #endif |
| OLD | NEW |