Changeset 82996 in webkit
- Timestamp:
- Apr 5, 2011 3:59:47 PM (13 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r82976 r82996 1 2011-04-05 Nico Weber <thakis@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 [chromium] Don't have 'using namespace' declarations in header files 6 https://bugs.webkit.org/show_bug.cgi?id=57882 7 8 * src/EventListenerWrapper.cpp: 9 * src/EventListenerWrapper.h: 10 * src/VideoFrameChromiumImpl.h: 11 * src/WebDOMEventListener.cpp: 12 * src/WebDOMEventListenerPrivate.cpp: 13 * src/WebDOMEventListenerPrivate.h: 14 (WebKit::WebDOMEventListenerPrivate::ListenerInfo::ListenerInfo): 15 1 16 2011-04-05 Zelidrag Hornung <zelidrag@chromium.org> 2 17 -
trunk/Source/WebKit/chromium/src/EventListenerWrapper.cpp
r70231 r82996 38 38 #include "WebDOMEventListener.h" 39 39 40 using namespace WebCore; 41 40 42 namespace WebKit { 41 43 -
trunk/Source/WebKit/chromium/src/EventListenerWrapper.h
r65743 r82996 38 38 } 39 39 40 using namespace WebCore;41 42 40 namespace WebKit { 43 41 … … 46 44 // FIXME: Remove the DeprecatedEventListenerWrapper class below once Chromium 47 45 // switched to using WebDOMEvent. 48 class EventListenerWrapper : public EventListener {46 class EventListenerWrapper : public WebCore::EventListener { 49 47 public: 50 48 EventListenerWrapper(WebDOMEventListener*); 51 49 ~EventListenerWrapper(); 52 50 53 virtual bool operator==(const EventListener&);54 virtual void handleEvent( ScriptExecutionContext*,Event*);51 virtual bool operator==(const WebCore::EventListener&); 52 virtual void handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*); 55 53 56 54 void webDOMEventListenerDeleted(); -
trunk/Source/WebKit/chromium/src/VideoFrameChromiumImpl.h
r78787 r82996 35 35 #include "WebVideoFrame.h" 36 36 37 using namespace WebCore;38 39 37 namespace WebKit { 40 38 41 39 // A wrapper class for WebKit::WebVideoFrame. Objects can be created in WebKit 42 40 // and used in WebCore because of the VideoFrameChromium interface. 43 class VideoFrameChromiumImpl : public VideoFrameChromium {41 class VideoFrameChromiumImpl : public WebCore::VideoFrameChromium { 44 42 public: 45 43 // Converts a WebCore::VideoFrameChromium to a WebKit::WebVideoFrame. 46 static WebVideoFrame* toWebVideoFrame( VideoFrameChromium*);44 static WebVideoFrame* toWebVideoFrame(WebCore::VideoFrameChromium*); 47 45 48 46 // Creates a VideoFrameChromiumImpl object to wrap the given WebVideoFrame. … … 60 58 virtual const void* data(unsigned plane) const; 61 59 virtual unsigned texture(unsigned plane) const; 62 virtual const IntSize requiredTextureSize(unsigned plane) const;60 virtual const WebCore::IntSize requiredTextureSize(unsigned plane) const; 63 61 virtual bool hasPaddingBytes(unsigned plane) const; 64 62 -
trunk/Source/WebKit/chromium/src/WebDOMEventListener.cpp
r65633 r82996 34 34 #include "WebDOMEventListenerPrivate.h" 35 35 36 using namespace WebCore; 37 36 38 namespace WebKit { 37 39 -
trunk/Source/WebKit/chromium/src/WebDOMEventListenerPrivate.cpp
r65633 r82996 34 34 #include "EventListenerWrapper.h" 35 35 #include "WebDOMEventListener.h" 36 37 using namespace WebCore; 36 38 37 39 namespace WebKit { -
trunk/Source/WebKit/chromium/src/WebDOMEventListenerPrivate.h
r65633 r82996 40 40 } 41 41 42 using namespace WebCore;43 44 42 namespace WebKit { 45 43 … … 53 51 54 52 EventListenerWrapper* createEventListenerWrapper( 55 const WebString& eventType, bool useCapture, Node* node);53 const WebString& eventType, bool useCapture, WebCore::Node*); 56 54 57 55 // Gets the ListenerEventWrapper for a specific node. 58 56 // Used by WebNode::removeDOMEventListener(). 59 57 EventListenerWrapper* getEventListenerWrapper( 60 const WebString& eventType, bool useCapture, Node* node);58 const WebString& eventType, bool useCapture, WebCore::Node*); 61 59 62 60 // Called by the WebDOMEventListener when it is about to be deleted. … … 69 67 ListenerInfo(const WebString& eventType, bool useCapture, 70 68 EventListenerWrapper* eventListenerWrapper, 71 Node* node)69 WebCore::Node* node) 72 70 : eventType(eventType) 73 71 , useCapture(useCapture) … … 80 78 bool useCapture; 81 79 EventListenerWrapper* eventListenerWrapper; 82 Node* node;80 WebCore::Node* node; 83 81 }; 84 82
Note: See TracChangeset
for help on using the changeset viewer.