Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(746)

Side by Side Diff: Source/WebCore/page/FrameView.cpp

Issue 7497054: Merge 92347 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1985 matching lines...) Expand 10 before | Expand all | Expand 10 after
1996 // No need to update if it's already crashed or known to be missing. 1996 // No need to update if it's already crashed or known to be missing.
1997 if (object->pluginCrashedOrWasMissing()) 1997 if (object->pluginCrashedOrWasMissing())
1998 return; 1998 return;
1999 1999
2000 // FIXME: This could turn into a real virtual dispatch if we defined 2000 // FIXME: This could turn into a real virtual dispatch if we defined
2001 // updateWidget(bool) on HTMLElement. 2001 // updateWidget(bool) on HTMLElement.
2002 if (ownerElement->hasTagName(objectTag) || ownerElement->hasTagName(embedTag )) 2002 if (ownerElement->hasTagName(objectTag) || ownerElement->hasTagName(embedTag ))
2003 static_cast<HTMLPlugInImageElement*>(ownerElement)->updateWidget(CreateA nyWidgetType); 2003 static_cast<HTMLPlugInImageElement*>(ownerElement)->updateWidget(CreateA nyWidgetType);
2004 // FIXME: It is not clear that Media elements need or want this updateWidget () call. 2004 // FIXME: It is not clear that Media elements need or want this updateWidget () call.
2005 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO) 2005 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
2006 else if (ownerElement->hasTagName(videoTag) || ownerElement->hasTagName(audi oTag)) 2006 else if (ownerElement->isMediaElement())
2007 static_cast<HTMLMediaElement*>(ownerElement)->updateWidget(CreateAnyWidg etType); 2007 static_cast<HTMLMediaElement*>(ownerElement)->updateWidget(CreateAnyWidg etType);
2008 #endif 2008 #endif
2009 else 2009 else
2010 ASSERT_NOT_REACHED(); 2010 ASSERT_NOT_REACHED();
2011 2011
2012 // Caution: it's possible the object was destroyed again, since loading a 2012 // Caution: it's possible the object was destroyed again, since loading a
2013 // plugin may run any arbitrary javascript. 2013 // plugin may run any arbitrary javascript.
2014 object->updateWidgetPosition(); 2014 object->updateWidgetPosition();
2015 } 2015 }
2016 2016
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
2932 } 2932 }
2933 2933
2934 AXObjectCache* FrameView::axObjectCache() const 2934 AXObjectCache* FrameView::axObjectCache() const
2935 { 2935 {
2936 if (frame() && frame()->document() && frame()->document()->axObjectCacheExis ts()) 2936 if (frame() && frame()->document() && frame()->document()->axObjectCacheExis ts())
2937 return frame()->document()->axObjectCache(); 2937 return frame()->document()->axObjectCache();
2938 return 0; 2938 return 0;
2939 } 2939 }
2940 2940
2941 } // namespace WebCore 2941 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebCore/html/shadow/MediaControlElements.cpp ('k') | Source/WebCore/platform/efl/RenderThemeEfl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698