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

Unified Diff: Source/web/WebPluginContainerImpl.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebPerformance.cpp ('k') | Source/web/WebPluginDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPluginContainerImpl.cpp
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
index 36af06ed8187dba0d486eddea219a97e5db5dea8..5ea65a77723c5c278cf45e8f8b33d81bdd38cb92 100644
--- a/Source/web/WebPluginContainerImpl.cpp
+++ b/Source/web/WebPluginContainerImpl.cpp
@@ -93,9 +93,6 @@
#include "web/WebViewImpl.h"
#include "wtf/Assertions.h"
-
-using namespace blink;
-
namespace blink {
// Public methods --------------------------------------------------------------
@@ -331,8 +328,7 @@ int WebPluginContainerImpl::printBegin(const WebPrintParams& printParams) const
return m_webPlugin->printBegin(printParams);
}
-bool WebPluginContainerImpl::printPage(int pageNumber,
- blink::GraphicsContext* gc)
+bool WebPluginContainerImpl::printPage(int pageNumber, GraphicsContext* gc)
{
gc->save();
WebCanvas* canvas = gc->canvas();
@@ -351,7 +347,7 @@ void WebPluginContainerImpl::copy()
if (!m_webPlugin->hasSelection())
return;
- blink::Platform::current()->clipboard()->writeHTML(m_webPlugin->selectionAsMarkup(), WebURL(), m_webPlugin->selectionAsText(), false);
+ Platform::current()->clipboard()->writeHTML(m_webPlugin->selectionAsMarkup(), WebURL(), m_webPlugin->selectionAsText(), false);
}
bool WebPluginContainerImpl::executeEditCommand(const WebString& name)
@@ -589,14 +585,14 @@ v8::Local<v8::Object> WebPluginContainerImpl::scriptableObject(v8::Isolate* isol
{
v8::Local<v8::Object> object = m_webPlugin->v8ScriptableObject(isolate);
if (!object.IsEmpty()) {
- // blink::WebPlugin implementation can't provide the obsolete NPObject at the same time:
+ // WebPlugin implementation can't provide the obsolete NPObject at the same time:
ASSERT(!m_webPlugin->scriptableObject());
return object;
}
NPObject* npObject = m_webPlugin->scriptableObject();
if (npObject)
- return blink::createV8ObjectForNPObject(npObject, 0, isolate);
+ return createV8ObjectForNPObject(npObject, 0, isolate);
return v8::Local<v8::Object>();
}
@@ -669,8 +665,8 @@ bool WebPluginContainerImpl::paintCustomOverhangArea(GraphicsContext* context, c
// Private methods -------------------------------------------------------------
-WebPluginContainerImpl::WebPluginContainerImpl(blink::HTMLPlugInElement* element, WebPlugin* webPlugin)
- : blink::FrameDestructionObserver(element->document().frame())
+WebPluginContainerImpl::WebPluginContainerImpl(HTMLPlugInElement* element, WebPlugin* webPlugin)
+ : FrameDestructionObserver(element->document().frame())
, m_element(element)
, m_webPlugin(webPlugin)
, m_webLayer(0)
@@ -936,7 +932,7 @@ void WebPluginContainerImpl::calculateGeometry(const IntRect& frameRect,
cutOutRects[i].move(-frameRect.x(), -frameRect.y());
}
-blink::IntRect WebPluginContainerImpl::windowClipRect() const
+IntRect WebPluginContainerImpl::windowClipRect() const
{
// Start by clipping to our bounds.
IntRect clipRect =
« no previous file with comments | « Source/web/WebPerformance.cpp ('k') | Source/web/WebPluginDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698