| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 } | 88 } |
| 89 | 89 |
| 90 VisualViewport& FrameHost::visualViewport() { | 90 VisualViewport& FrameHost::visualViewport() { |
| 91 return *m_visualViewport; | 91 return *m_visualViewport; |
| 92 } | 92 } |
| 93 | 93 |
| 94 const VisualViewport& FrameHost::visualViewport() const { | 94 const VisualViewport& FrameHost::visualViewport() const { |
| 95 return *m_visualViewport; | 95 return *m_visualViewport; |
| 96 } | 96 } |
| 97 | 97 |
| 98 PageScaleConstraintsSet& FrameHost::pageScaleConstraintsSet() { | |
| 99 return page().pageScaleConstraintsSet(); | |
| 100 } | |
| 101 | |
| 102 const PageScaleConstraintsSet& FrameHost::pageScaleConstraintsSet() const { | |
| 103 return page().pageScaleConstraintsSet(); | |
| 104 } | |
| 105 | |
| 106 EventHandlerRegistry& FrameHost::eventHandlerRegistry() { | 98 EventHandlerRegistry& FrameHost::eventHandlerRegistry() { |
| 107 return *m_eventHandlerRegistry; | 99 return *m_eventHandlerRegistry; |
| 108 } | 100 } |
| 109 | 101 |
| 110 const EventHandlerRegistry& FrameHost::eventHandlerRegistry() const { | 102 const EventHandlerRegistry& FrameHost::eventHandlerRegistry() const { |
| 111 return *m_eventHandlerRegistry; | 103 return *m_eventHandlerRegistry; |
| 112 } | 104 } |
| 113 | 105 |
| 114 ConsoleMessageStorage& FrameHost::consoleMessageStorage() { | 106 ConsoleMessageStorage& FrameHost::consoleMessageStorage() { |
| 115 return *m_consoleMessageStorage; | 107 return *m_consoleMessageStorage; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 #endif | 139 #endif |
| 148 | 140 |
| 149 int FrameHost::subframeCount() const { | 141 int FrameHost::subframeCount() const { |
| 150 #if DCHECK_IS_ON() | 142 #if DCHECK_IS_ON() |
| 151 checkFrameCountConsistency(m_subframeCount + 1, m_page->mainFrame()); | 143 checkFrameCountConsistency(m_subframeCount + 1, m_page->mainFrame()); |
| 152 #endif | 144 #endif |
| 153 return m_subframeCount; | 145 return m_subframeCount; |
| 154 } | 146 } |
| 155 | 147 |
| 156 } // namespace blink | 148 } // namespace blink |
| OLD | NEW |