| 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 24 matching lines...) Expand all Loading... |
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 36 #include "wtf/Allocator.h" | 36 #include "wtf/Allocator.h" |
| 37 #include "wtf/Noncopyable.h" | 37 #include "wtf/Noncopyable.h" |
| 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; | |
| 46 class OverscrollController; | 45 class OverscrollController; |
| 47 class Page; | 46 class Page; |
| 48 class TopDocumentRootScrollerController; | 47 class TopDocumentRootScrollerController; |
| 49 class VisualViewport; | 48 class VisualViewport; |
| 50 | 49 |
| 51 // FrameHost is the set of global data shared between multiple frames | 50 // FrameHost is the set of global data shared between multiple frames |
| 52 // and is provided by the embedder to each frame when created. | 51 // and is provided by the embedder to each frame when created. |
| 53 // FrameHost currently corresponds to the Page object in core/page | 52 // FrameHost currently corresponds to the Page object in core/page |
| 54 // however the concept of a Page is moving up out of Blink. | 53 // however the concept of a Page is moving up out of Blink. |
| 55 // In an out-of-process iframe world, a single Page may have | 54 // In an out-of-process iframe world, a single Page may have |
| (...skipping 15 matching lines...) Expand all Loading... |
| 71 | 70 |
| 72 BrowserControls& browserControls(); | 71 BrowserControls& browserControls(); |
| 73 const BrowserControls& browserControls() const; | 72 const BrowserControls& browserControls() const; |
| 74 | 73 |
| 75 OverscrollController& overscrollController(); | 74 OverscrollController& overscrollController(); |
| 76 const OverscrollController& overscrollController() const; | 75 const OverscrollController& overscrollController() const; |
| 77 | 76 |
| 78 VisualViewport& visualViewport(); | 77 VisualViewport& visualViewport(); |
| 79 const VisualViewport& visualViewport() const; | 78 const VisualViewport& visualViewport() const; |
| 80 | 79 |
| 81 EventHandlerRegistry& eventHandlerRegistry(); | |
| 82 const EventHandlerRegistry& eventHandlerRegistry() const; | |
| 83 | |
| 84 ConsoleMessageStorage& consoleMessageStorage(); | 80 ConsoleMessageStorage& consoleMessageStorage(); |
| 85 const ConsoleMessageStorage& consoleMessageStorage() const; | 81 const ConsoleMessageStorage& consoleMessageStorage() const; |
| 86 | 82 |
| 87 TopDocumentRootScrollerController& globalRootScrollerController() const; | 83 TopDocumentRootScrollerController& globalRootScrollerController() const; |
| 88 | 84 |
| 89 DECLARE_TRACE(); | 85 DECLARE_TRACE(); |
| 90 | 86 |
| 91 // Don't allow more than a certain number of frames in a page. | 87 // Don't allow more than a certain number of frames in a page. |
| 92 // This seems like a reasonable upper bound, and otherwise mutually | 88 // This seems like a reasonable upper bound, and otherwise mutually |
| 93 // recursive frameset pages can quickly bring the program to its knees | 89 // recursive frameset pages can quickly bring the program to its knees |
| (...skipping 15 matching lines...) Expand all Loading... |
| 109 const Member<ConsoleMessageStorage> m_consoleMessageStorage; | 105 const Member<ConsoleMessageStorage> m_consoleMessageStorage; |
| 110 const Member<TopDocumentRootScrollerController> | 106 const Member<TopDocumentRootScrollerController> |
| 111 m_globalRootScrollerController; | 107 m_globalRootScrollerController; |
| 112 | 108 |
| 113 int m_subframeCount; | 109 int m_subframeCount; |
| 114 }; | 110 }; |
| 115 | 111 |
| 116 } // namespace blink | 112 } // namespace blink |
| 117 | 113 |
| 118 #endif // FrameHost_h | 114 #endif // FrameHost_h |
| OLD | NEW |