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

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

Issue 471503002: Cleanup namespace usage in Source/web/Web[I-Z]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | Source/web/WebPopupMenuImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 20 matching lines...) Expand all
31 #include "config.h" 31 #include "config.h"
32 #include "public/web/WebPluginDocument.h" 32 #include "public/web/WebPluginDocument.h"
33 33
34 #include "core/dom/Document.h" 34 #include "core/dom/Document.h"
35 #include "core/html/PluginDocument.h" 35 #include "core/html/PluginDocument.h"
36 36
37 #include "web/WebPluginContainerImpl.h" 37 #include "web/WebPluginContainerImpl.h"
38 38
39 #include "wtf/PassRefPtr.h" 39 #include "wtf/PassRefPtr.h"
40 40
41 using namespace blink;
42 41
43 namespace blink { 42 namespace blink {
44 43
45 44
46 WebPlugin* WebPluginDocument::plugin() 45 WebPlugin* WebPluginDocument::plugin()
47 { 46 {
48 if (!isPluginDocument()) 47 if (!isPluginDocument())
49 return 0; 48 return 0;
50 PluginDocument* doc = unwrap<PluginDocument>(); 49 PluginDocument* doc = unwrap<PluginDocument>();
51 WebPluginContainerImpl* container = toWebPluginContainerImpl(doc->pluginWidg et()); 50 WebPluginContainerImpl* container = toWebPluginContainerImpl(doc->pluginWidg et());
(...skipping 11 matching lines...) Expand all
63 m_private = elem; 62 m_private = elem;
64 return *this; 63 return *this;
65 } 64 }
66 65
67 WebPluginDocument::operator PassRefPtrWillBeRawPtr<PluginDocument>() const 66 WebPluginDocument::operator PassRefPtrWillBeRawPtr<PluginDocument>() const
68 { 67 {
69 return static_cast<PluginDocument*>(m_private.get()); 68 return static_cast<PluginDocument*>(m_private.get());
70 } 69 }
71 70
72 } // namespace blink 71 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | Source/web/WebPopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698