| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 #include "sky/engine/platform/Cursor.h" | 60 #include "sky/engine/platform/Cursor.h" |
| 61 #include "sky/engine/platform/KeyboardCodes.h" | 61 #include "sky/engine/platform/KeyboardCodes.h" |
| 62 #include "sky/engine/platform/Logging.h" | 62 #include "sky/engine/platform/Logging.h" |
| 63 #include "sky/engine/platform/NotImplemented.h" | 63 #include "sky/engine/platform/NotImplemented.h" |
| 64 #include "sky/engine/platform/TraceEvent.h" | 64 #include "sky/engine/platform/TraceEvent.h" |
| 65 #include "sky/engine/platform/fonts/FontCache.h" | 65 #include "sky/engine/platform/fonts/FontCache.h" |
| 66 #include "sky/engine/platform/graphics/Color.h" | 66 #include "sky/engine/platform/graphics/Color.h" |
| 67 #include "sky/engine/platform/graphics/GraphicsContext.h" | 67 #include "sky/engine/platform/graphics/GraphicsContext.h" |
| 68 #include "sky/engine/platform/graphics/Image.h" | 68 #include "sky/engine/platform/graphics/Image.h" |
| 69 #include "sky/engine/platform/graphics/ImageBuffer.h" | 69 #include "sky/engine/platform/graphics/ImageBuffer.h" |
| 70 #include "sky/engine/platform/scroll/Scrollbar.h" | |
| 71 #include "sky/engine/public/platform/Platform.h" | 70 #include "sky/engine/public/platform/Platform.h" |
| 72 #include "sky/engine/public/platform/WebFloatPoint.h" | 71 #include "sky/engine/public/platform/WebFloatPoint.h" |
| 73 #include "sky/engine/public/platform/WebImage.h" | 72 #include "sky/engine/public/platform/WebImage.h" |
| 74 #include "sky/engine/public/platform/WebLayerTreeView.h" | 73 #include "sky/engine/public/platform/WebLayerTreeView.h" |
| 75 #include "sky/engine/public/platform/WebURLRequest.h" | 74 #include "sky/engine/public/platform/WebURLRequest.h" |
| 76 #include "sky/engine/public/platform/WebVector.h" | 75 #include "sky/engine/public/platform/WebVector.h" |
| 77 #include "sky/engine/public/web/WebBeginFrameArgs.h" | 76 #include "sky/engine/public/web/WebBeginFrameArgs.h" |
| 78 #include "sky/engine/public/web/WebFrameClient.h" | 77 #include "sky/engine/public/web/WebFrameClient.h" |
| 79 #include "sky/engine/public/web/WebHitTestResult.h" | 78 #include "sky/engine/public/web/WebHitTestResult.h" |
| 80 #include "sky/engine/public/web/WebNode.h" | 79 #include "sky/engine/public/web/WebNode.h" |
| (...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 860 void WebViewImpl::setVisibilityState(WebPageVisibilityState visibilityState, | 859 void WebViewImpl::setVisibilityState(WebPageVisibilityState visibilityState, |
| 861 bool isInitialState) { | 860 bool isInitialState) { |
| 862 if (!page()) | 861 if (!page()) |
| 863 return; | 862 return; |
| 864 | 863 |
| 865 ASSERT(visibilityState == WebPageVisibilityStateVisible || visibilityState =
= WebPageVisibilityStateHidden); | 864 ASSERT(visibilityState == WebPageVisibilityStateVisible || visibilityState =
= WebPageVisibilityStateHidden); |
| 866 m_page->setVisibilityState(static_cast<PageVisibilityState>(static_cast<int>
(visibilityState)), isInitialState); | 865 m_page->setVisibilityState(static_cast<PageVisibilityState>(static_cast<int>
(visibilityState)), isInitialState); |
| 867 } | 866 } |
| 868 | 867 |
| 869 } // namespace blink | 868 } // namespace blink |
| OLD | NEW |