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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 84 } |
85 | 85 |
86 VisualViewport& FrameHost::visualViewport() { | 86 VisualViewport& FrameHost::visualViewport() { |
87 return *m_visualViewport; | 87 return *m_visualViewport; |
88 } | 88 } |
89 | 89 |
90 const VisualViewport& FrameHost::visualViewport() const { | 90 const VisualViewport& FrameHost::visualViewport() const { |
91 return *m_visualViewport; | 91 return *m_visualViewport; |
92 } | 92 } |
93 | 93 |
94 EventHandlerRegistry& FrameHost::eventHandlerRegistry() { | |
95 return page().eventHandlerRegistry(); | |
96 } | |
97 | |
98 const EventHandlerRegistry& FrameHost::eventHandlerRegistry() const { | |
99 return page().eventHandlerRegistry(); | |
100 } | |
101 | |
102 ConsoleMessageStorage& FrameHost::consoleMessageStorage() { | 94 ConsoleMessageStorage& FrameHost::consoleMessageStorage() { |
103 return *m_consoleMessageStorage; | 95 return *m_consoleMessageStorage; |
104 } | 96 } |
105 | 97 |
106 const ConsoleMessageStorage& FrameHost::consoleMessageStorage() const { | 98 const ConsoleMessageStorage& FrameHost::consoleMessageStorage() const { |
107 return *m_consoleMessageStorage; | 99 return *m_consoleMessageStorage; |
108 } | 100 } |
109 | 101 |
110 TopDocumentRootScrollerController& FrameHost::globalRootScrollerController() | 102 TopDocumentRootScrollerController& FrameHost::globalRootScrollerController() |
111 const { | 103 const { |
(...skipping 21 matching lines...) Expand all Loading... |
133 #endif | 125 #endif |
134 | 126 |
135 int FrameHost::subframeCount() const { | 127 int FrameHost::subframeCount() const { |
136 #if DCHECK_IS_ON() | 128 #if DCHECK_IS_ON() |
137 checkFrameCountConsistency(m_subframeCount + 1, m_page->mainFrame()); | 129 checkFrameCountConsistency(m_subframeCount + 1, m_page->mainFrame()); |
138 #endif | 130 #endif |
139 return m_subframeCount; | 131 return m_subframeCount; |
140 } | 132 } |
141 | 133 |
142 } // namespace blink | 134 } // namespace blink |
OLD | NEW |