| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 } | 75 } |
| 76 | 76 |
| 77 UseCounter& FrameHost::useCounter() { | 77 UseCounter& FrameHost::useCounter() { |
| 78 return m_page->useCounter(); | 78 return m_page->useCounter(); |
| 79 } | 79 } |
| 80 | 80 |
| 81 const UseCounter& FrameHost::useCounter() const { | 81 const UseCounter& FrameHost::useCounter() const { |
| 82 return m_page->useCounter(); | 82 return m_page->useCounter(); |
| 83 } | 83 } |
| 84 | 84 |
| 85 Deprecation& FrameHost::deprecation() { | |
| 86 return m_page->deprecation(); | |
| 87 } | |
| 88 | |
| 89 const Deprecation& FrameHost::deprecation() const { | |
| 90 return m_page->deprecation(); | |
| 91 } | |
| 92 | |
| 93 float FrameHost::deviceScaleFactorDeprecated() const { | 85 float FrameHost::deviceScaleFactorDeprecated() const { |
| 94 return m_page->deviceScaleFactor(); | 86 return m_page->deviceScaleFactor(); |
| 95 } | 87 } |
| 96 | 88 |
| 97 BrowserControls& FrameHost::browserControls() { | 89 BrowserControls& FrameHost::browserControls() { |
| 98 return *m_browserControls; | 90 return *m_browserControls; |
| 99 } | 91 } |
| 100 | 92 |
| 101 const BrowserControls& FrameHost::browserControls() const { | 93 const BrowserControls& FrameHost::browserControls() const { |
| 102 return *m_browserControls; | 94 return *m_browserControls; |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 | 204 |
| 213 FrameView* rootView = page().deprecatedLocalMainFrame()->view(); | 205 FrameView* rootView = page().deprecatedLocalMainFrame()->view(); |
| 214 | 206 |
| 215 if (!rootView) | 207 if (!rootView) |
| 216 return; | 208 return; |
| 217 | 209 |
| 218 rootView->setNeedsLayout(); | 210 rootView->setNeedsLayout(); |
| 219 } | 211 } |
| 220 | 212 |
| 221 } // namespace blink | 213 } // namespace blink |
| OLD | NEW |