| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 20 matching lines...) Expand all Loading... |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "web/WebFrameWidgetImpl.h" | 32 #include "web/WebFrameWidgetImpl.h" |
| 33 | 33 |
| 34 #include "core/editing/Editor.h" | 34 #include "core/editing/Editor.h" |
| 35 #include "core/editing/FrameSelection.h" | 35 #include "core/editing/FrameSelection.h" |
| 36 #include "core/editing/InputMethodController.h" | 36 #include "core/editing/InputMethodController.h" |
| 37 #include "core/editing/PlainTextRange.h" | 37 #include "core/editing/PlainTextRange.h" |
| 38 #include "core/frame/FrameView.h" | 38 #include "core/frame/FrameView.h" |
| 39 #include "core/frame/RemoteFrame.h" | 39 #include "core/frame/RemoteFrame.h" |
| 40 #include "core/frame/Settings.h" | 40 #include "core/frame/Settings.h" |
| 41 #include "core/input/EventHandler.h" |
| 41 #include "core/layout/LayoutView.h" | 42 #include "core/layout/LayoutView.h" |
| 42 #include "core/layout/compositing/DeprecatedPaintLayerCompositor.h" | 43 #include "core/layout/compositing/DeprecatedPaintLayerCompositor.h" |
| 43 #include "core/page/EventHandler.h" | |
| 44 #include "core/page/FocusController.h" | 44 #include "core/page/FocusController.h" |
| 45 #include "core/page/Page.h" | 45 #include "core/page/Page.h" |
| 46 #include "platform/KeyboardCodes.h" | 46 #include "platform/KeyboardCodes.h" |
| 47 #include "platform/NotImplemented.h" | 47 #include "platform/NotImplemented.h" |
| 48 #include "public/web/WebBeginFrameArgs.h" | 48 #include "public/web/WebBeginFrameArgs.h" |
| 49 #include "public/web/WebWidgetClient.h" | 49 #include "public/web/WebWidgetClient.h" |
| 50 #include "web/WebDevToolsAgentImpl.h" | 50 #include "web/WebDevToolsAgentImpl.h" |
| 51 #include "web/WebInputEventConversion.h" | 51 #include "web/WebInputEventConversion.h" |
| 52 #include "web/WebLocalFrameImpl.h" | 52 #include "web/WebLocalFrameImpl.h" |
| 53 #include "web/WebPluginContainerImpl.h" | 53 #include "web/WebPluginContainerImpl.h" |
| (...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1045 // correspond to Page visibility, but is necessary until we properly sort ou
t OOPIF visibility. | 1045 // correspond to Page visibility, but is necessary until we properly sort ou
t OOPIF visibility. |
| 1046 m_page->setVisibilityState(static_cast<PageVisibilityState>(visibilityState)
, isInitialState); | 1046 m_page->setVisibilityState(static_cast<PageVisibilityState>(visibilityState)
, isInitialState); |
| 1047 | 1047 |
| 1048 if (m_layerTreeView) { | 1048 if (m_layerTreeView) { |
| 1049 bool visible = visibilityState == WebPageVisibilityStateVisible; | 1049 bool visible = visibilityState == WebPageVisibilityStateVisible; |
| 1050 m_layerTreeView->setVisible(visible); | 1050 m_layerTreeView->setVisible(visible); |
| 1051 } | 1051 } |
| 1052 } | 1052 } |
| 1053 | 1053 |
| 1054 } // namespace blink | 1054 } // namespace blink |
| OLD | NEW |