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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
703 { | 704 { |
704 if (callbacks) { | 705 if (callbacks) { |
705 callbacks->onError(WebSetSinkIdError::NotSupported); | 706 callbacks->onError(WebSetSinkIdError::NotSupported); |
706 delete callbacks; | 707 delete callbacks; |
707 } | 708 } |
708 } | 709 } |
709 | 710 |
710 // Mojo ---------------------------------------------------------------- | 711 // Mojo ---------------------------------------------------------------- |
711 virtual ServiceRegistry* serviceRegistry() { return nullptr; } | 712 virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
712 | 713 |
714 // Visibility ---------------------------------------------------------- | |
715 | |
716 // Returns the current visibility of the WebView. | |
dcheng
2016/06/02 22:16:07
WebView?
lfg
2016/06/03 18:34:58
Oops. I fixed that in render_frame.h but forgot to
| |
717 virtual WebPageVisibilityState visibilityState() const | |
718 { | |
719 return WebPageVisibilityStateVisible; | |
720 } | |
721 | |
713 protected: | 722 protected: |
714 virtual ~WebFrameClient() { } | 723 virtual ~WebFrameClient() { } |
715 }; | 724 }; |
716 | 725 |
717 } // namespace blink | 726 } // namespace blink |
718 | 727 |
719 #endif | 728 #endif |
OLD | NEW |