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

Side by Side Diff: Source/web/WebNode.cpp

Issue 19856004: Adds WebElement::imageContents() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: move imageContents() call down to WebElement Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "WebPluginContainer.h" 42 #include "WebPluginContainer.h"
43 #include "WebPluginContainerImpl.h" 43 #include "WebPluginContainerImpl.h"
44 #include "core/dom/Document.h" 44 #include "core/dom/Document.h"
45 #include "core/dom/Element.h" 45 #include "core/dom/Element.h"
46 #include "core/dom/Event.h" 46 #include "core/dom/Event.h"
47 #include "core/dom/Node.h" 47 #include "core/dom/Node.h"
48 #include "core/dom/NodeList.h" 48 #include "core/dom/NodeList.h"
49 #include "core/editing/markup.h" 49 #include "core/editing/markup.h"
50 #include "core/page/Frame.h" 50 #include "core/page/Frame.h"
51 #include "core/platform/Widget.h" 51 #include "core/platform/Widget.h"
52 #include "core/rendering/RenderImage.h"
darin (slow to review) 2013/07/30 19:38:48 nit: not needed
52 #include "core/rendering/RenderObject.h" 53 #include "core/rendering/RenderObject.h"
53 #include "core/rendering/RenderWidget.h" 54 #include "core/rendering/RenderWidget.h"
54 #include "public/platform/WebString.h" 55 #include "public/platform/WebString.h"
55 #include "public/platform/WebVector.h" 56 #include "public/platform/WebVector.h"
56 57
57 using namespace WebCore; 58 using namespace WebCore;
58 59
59 namespace WebKit { 60 namespace WebKit {
60 61
61 void WebNode::reset() 62 void WebNode::reset()
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 m_private = node; 262 m_private = node;
262 return *this; 263 return *this;
263 } 264 }
264 265
265 WebNode::operator PassRefPtr<Node>() const 266 WebNode::operator PassRefPtr<Node>() const
266 { 267 {
267 return m_private.get(); 268 return m_private.get();
268 } 269 }
269 270
270 } // namespace WebKit 271 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698