Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 3375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3386 if (frame().document()) | 3386 if (frame().document()) |
| 3387 return frame().document()->existingAXObjectCache(); | 3387 return frame().document()->existingAXObjectCache(); |
| 3388 return 0; | 3388 return 0; |
| 3389 } | 3389 } |
| 3390 | 3390 |
| 3391 bool FrameView::isMainFrame() const | 3391 bool FrameView::isMainFrame() const |
| 3392 { | 3392 { |
| 3393 return m_frame->page() && m_frame->page()->mainFrame() == m_frame; | 3393 return m_frame->page() && m_frame->page()->mainFrame() == m_frame; |
| 3394 } | 3394 } |
| 3395 | 3395 |
| 3396 void FrameView::setCurrentFullscreenRenderer(RenderObject* renderer) | |
| 3397 { | |
| 3398 ASSERT(isMainFrame()); | |
| 3399 if (RenderView* renderView = this->renderView()) | |
|
esprehn
2013/09/13 02:46:07
Going through here if there's no RenderView sounds
trchen
2013/09/13 05:14:58
This can happen during frame destruction. RenderVi
| |
| 3400 renderView->compositor()->setCurrentFullscreenRenderer(renderer); | |
| 3401 } | |
| 3402 | |
| 3396 } // namespace WebCore | 3403 } // namespace WebCore |
| OLD | NEW |