| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 FrameHost::~FrameHost() {} | 67 FrameHost::~FrameHost() {} |
| 68 | 68 |
| 69 Page& FrameHost::page() { | 69 Page& FrameHost::page() { |
| 70 return *m_page; | 70 return *m_page; |
| 71 } | 71 } |
| 72 | 72 |
| 73 const Page& FrameHost::page() const { | 73 const Page& FrameHost::page() const { |
| 74 return *m_page; | 74 return *m_page; |
| 75 } | 75 } |
| 76 | 76 |
| 77 UseCounter& FrameHost::useCounter() { | |
| 78 return m_page->useCounter(); | |
| 79 } | |
| 80 | |
| 81 const UseCounter& FrameHost::useCounter() const { | |
| 82 return m_page->useCounter(); | |
| 83 } | |
| 84 | |
| 85 float FrameHost::deviceScaleFactorDeprecated() const { | 77 float FrameHost::deviceScaleFactorDeprecated() const { |
| 86 return m_page->deviceScaleFactor(); | 78 return m_page->deviceScaleFactor(); |
| 87 } | 79 } |
| 88 | 80 |
| 89 BrowserControls& FrameHost::browserControls() { | 81 BrowserControls& FrameHost::browserControls() { |
| 90 return *m_browserControls; | 82 return *m_browserControls; |
| 91 } | 83 } |
| 92 | 84 |
| 93 const BrowserControls& FrameHost::browserControls() const { | 85 const BrowserControls& FrameHost::browserControls() const { |
| 94 return *m_browserControls; | 86 return *m_browserControls; |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 196 |
| 205 FrameView* rootView = page().deprecatedLocalMainFrame()->view(); | 197 FrameView* rootView = page().deprecatedLocalMainFrame()->view(); |
| 206 | 198 |
| 207 if (!rootView) | 199 if (!rootView) |
| 208 return; | 200 return; |
| 209 | 201 |
| 210 rootView->setNeedsLayout(); | 202 rootView->setNeedsLayout(); |
| 211 } | 203 } |
| 212 | 204 |
| 213 } // namespace blink | 205 } // namespace blink |
| OLD | NEW |