| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 27 matching lines...) Expand all Loading... |
| 38 #include "wtf/text/AtomicString.h" | 38 #include "wtf/text/AtomicString.h" |
| 39 #include <memory> | 39 #include <memory> |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class BrowserControls; | 43 class BrowserControls; |
| 44 class ConsoleMessageStorage; | 44 class ConsoleMessageStorage; |
| 45 class EventHandlerRegistry; | 45 class EventHandlerRegistry; |
| 46 class OverscrollController; | 46 class OverscrollController; |
| 47 class Page; | 47 class Page; |
| 48 class PageScaleConstraintsSet; | |
| 49 class TopDocumentRootScrollerController; | 48 class TopDocumentRootScrollerController; |
| 50 class VisualViewport; | 49 class VisualViewport; |
| 51 | 50 |
| 52 // FrameHost is the set of global data shared between multiple frames | 51 // FrameHost is the set of global data shared between multiple frames |
| 53 // and is provided by the embedder to each frame when created. | 52 // and is provided by the embedder to each frame when created. |
| 54 // FrameHost currently corresponds to the Page object in core/page | 53 // FrameHost currently corresponds to the Page object in core/page |
| 55 // however the concept of a Page is moving up out of Blink. | 54 // however the concept of a Page is moving up out of Blink. |
| 56 // In an out-of-process iframe world, a single Page may have | 55 // In an out-of-process iframe world, a single Page may have |
| 57 // multiple frames in different process, thus Page becomes a | 56 // multiple frames in different process, thus Page becomes a |
| 58 // browser-level concept and Blink core/ only knows about its LocalFrame (and | 57 // browser-level concept and Blink core/ only knows about its LocalFrame (and |
| (...skipping 13 matching lines...) Expand all Loading... |
| 72 | 71 |
| 73 BrowserControls& browserControls(); | 72 BrowserControls& browserControls(); |
| 74 const BrowserControls& browserControls() const; | 73 const BrowserControls& browserControls() const; |
| 75 | 74 |
| 76 OverscrollController& overscrollController(); | 75 OverscrollController& overscrollController(); |
| 77 const OverscrollController& overscrollController() const; | 76 const OverscrollController& overscrollController() const; |
| 78 | 77 |
| 79 VisualViewport& visualViewport(); | 78 VisualViewport& visualViewport(); |
| 80 const VisualViewport& visualViewport() const; | 79 const VisualViewport& visualViewport() const; |
| 81 | 80 |
| 82 PageScaleConstraintsSet& pageScaleConstraintsSet(); | |
| 83 const PageScaleConstraintsSet& pageScaleConstraintsSet() const; | |
| 84 | |
| 85 EventHandlerRegistry& eventHandlerRegistry(); | 81 EventHandlerRegistry& eventHandlerRegistry(); |
| 86 const EventHandlerRegistry& eventHandlerRegistry() const; | 82 const EventHandlerRegistry& eventHandlerRegistry() const; |
| 87 | 83 |
| 88 ConsoleMessageStorage& consoleMessageStorage(); | 84 ConsoleMessageStorage& consoleMessageStorage(); |
| 89 const ConsoleMessageStorage& consoleMessageStorage() const; | 85 const ConsoleMessageStorage& consoleMessageStorage() const; |
| 90 | 86 |
| 91 TopDocumentRootScrollerController& globalRootScrollerController() const; | 87 TopDocumentRootScrollerController& globalRootScrollerController() const; |
| 92 | 88 |
| 93 DECLARE_TRACE(); | 89 DECLARE_TRACE(); |
| 94 | 90 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 116 const Member<TopDocumentRootScrollerController> | 112 const Member<TopDocumentRootScrollerController> |
| 117 m_globalRootScrollerController; | 113 m_globalRootScrollerController; |
| 118 | 114 |
| 119 AtomicString m_overrideEncoding; | 115 AtomicString m_overrideEncoding; |
| 120 int m_subframeCount; | 116 int m_subframeCount; |
| 121 }; | 117 }; |
| 122 | 118 |
| 123 } // namespace blink | 119 } // namespace blink |
| 124 | 120 |
| 125 #endif // FrameHost_h | 121 #endif // FrameHost_h |
| OLD | NEW |