| 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 25 matching lines...) Expand all Loading... |
| 36 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 36 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
| 37 #include "sky/engine/core/dom/Document.h" | 37 #include "sky/engine/core/dom/Document.h" |
| 38 #include "sky/engine/core/dom/DocumentMarkerController.h" | 38 #include "sky/engine/core/dom/DocumentMarkerController.h" |
| 39 #include "sky/engine/core/dom/NodeRenderingTraversal.h" | 39 #include "sky/engine/core/dom/NodeRenderingTraversal.h" |
| 40 #include "sky/engine/core/dom/Text.h" | 40 #include "sky/engine/core/dom/Text.h" |
| 41 #include "sky/engine/core/editing/Editor.h" | 41 #include "sky/engine/core/editing/Editor.h" |
| 42 #include "sky/engine/core/editing/FrameSelection.h" | 42 #include "sky/engine/core/editing/FrameSelection.h" |
| 43 #include "sky/engine/core/editing/HTMLInterchange.h" | 43 #include "sky/engine/core/editing/HTMLInterchange.h" |
| 44 #include "sky/engine/core/editing/InputMethodController.h" | 44 #include "sky/engine/core/editing/InputMethodController.h" |
| 45 #include "sky/engine/core/editing/TextIterator.h" | 45 #include "sky/engine/core/editing/TextIterator.h" |
| 46 #include "sky/engine/core/editing/markup.h" | |
| 47 #include "sky/engine/core/events/KeyboardEvent.h" | 46 #include "sky/engine/core/events/KeyboardEvent.h" |
| 48 #include "sky/engine/core/events/WheelEvent.h" | 47 #include "sky/engine/core/events/WheelEvent.h" |
| 49 #include "sky/engine/core/frame/FrameHost.h" | 48 #include "sky/engine/core/frame/FrameHost.h" |
| 50 #include "sky/engine/core/frame/FrameView.h" | 49 #include "sky/engine/core/frame/FrameView.h" |
| 51 #include "sky/engine/core/frame/LocalFrame.h" | 50 #include "sky/engine/core/frame/LocalFrame.h" |
| 52 #include "sky/engine/core/frame/Settings.h" | 51 #include "sky/engine/core/frame/Settings.h" |
| 53 #include "sky/engine/core/html/HTMLImportElement.h" | 52 #include "sky/engine/core/html/HTMLImportElement.h" |
| 54 #include "sky/engine/core/html/ime/InputMethodContext.h" | 53 #include "sky/engine/core/html/ime/InputMethodContext.h" |
| 55 #include "sky/engine/core/loader/FrameLoader.h" | 54 #include "sky/engine/core/loader/FrameLoader.h" |
| 56 #include "sky/engine/core/loader/UniqueIdentifier.h" | 55 #include "sky/engine/core/loader/UniqueIdentifier.h" |
| (...skipping 1762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1819 void WebViewImpl::setVisibilityState(WebPageVisibilityState visibilityState, | 1818 void WebViewImpl::setVisibilityState(WebPageVisibilityState visibilityState, |
| 1820 bool isInitialState) { | 1819 bool isInitialState) { |
| 1821 if (!page()) | 1820 if (!page()) |
| 1822 return; | 1821 return; |
| 1823 | 1822 |
| 1824 ASSERT(visibilityState == WebPageVisibilityStateVisible || visibilityState =
= WebPageVisibilityStateHidden); | 1823 ASSERT(visibilityState == WebPageVisibilityStateVisible || visibilityState =
= WebPageVisibilityStateHidden); |
| 1825 m_page->setVisibilityState(static_cast<PageVisibilityState>(static_cast<int>
(visibilityState)), isInitialState); | 1824 m_page->setVisibilityState(static_cast<PageVisibilityState>(static_cast<int>
(visibilityState)), isInitialState); |
| 1826 } | 1825 } |
| 1827 | 1826 |
| 1828 } // namespace blink | 1827 } // namespace blink |
| OLD | NEW |