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

Unified Diff: content/renderer/pepper/ppb_scrollbar_impl.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « content/renderer/pepper/ppb_scrollbar_impl.h ('k') | content/renderer/pepper/ppb_var_deprecated_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppb_scrollbar_impl.cc
diff --git a/content/renderer/pepper/ppb_scrollbar_impl.cc b/content/renderer/pepper/ppb_scrollbar_impl.cc
index fb01c597569b4fdd33d7ed1883b72eeca59acdd3..326c7003183d9a6aa43994ba7357f2e2851e52ed 100644
--- a/content/renderer/pepper/ppb_scrollbar_impl.cc
+++ b/content/renderer/pepper/ppb_scrollbar_impl.cc
@@ -27,10 +27,10 @@
#endif
using ppapi::thunk::PPB_Scrollbar_API;
-using WebKit::WebInputEvent;
-using WebKit::WebRect;
-using WebKit::WebScrollbar;
-using WebKit::WebPluginScrollbar;
+using blink::WebInputEvent;
+using blink::WebRect;
+using blink::WebScrollbar;
+using blink::WebPluginScrollbar;
namespace content {
@@ -59,7 +59,7 @@ void PPB_Scrollbar_Impl::Init(bool vertical) {
scrollbar_.reset(WebPluginScrollbar::createForPlugin(
vertical ? WebScrollbar::Vertical : WebScrollbar::Horizontal,
plugin_instance->container(),
- static_cast<WebKit::WebPluginScrollbarClient*>(this)));
+ static_cast<blink::WebPluginScrollbarClient*>(this)));
}
PPB_Scrollbar_API* PPB_Scrollbar_Impl::AsPPB_Scrollbar_API() {
@@ -168,7 +168,7 @@ void PPB_Scrollbar_Impl::SetLocationInternal(const PP_Rect* location) {
location->size.height));
}
-void PPB_Scrollbar_Impl::valueChanged(WebKit::WebPluginScrollbar* scrollbar) {
+void PPB_Scrollbar_Impl::valueChanged(blink::WebPluginScrollbar* scrollbar) {
PluginModule* plugin_module =
HostGlobals::Get()->GetInstance(pp_instance())->module();
if (!plugin_module)
@@ -206,8 +206,8 @@ void PPB_Scrollbar_Impl::overlayChanged(WebPluginScrollbar* scrollbar) {
}
void PPB_Scrollbar_Impl::invalidateScrollbarRect(
- WebKit::WebPluginScrollbar* scrollbar,
- const WebKit::WebRect& rect) {
+ blink::WebPluginScrollbar* scrollbar,
+ const blink::WebRect& rect) {
gfx::Rect gfx_rect(rect.x,
rect.y,
rect.width,
@@ -217,8 +217,8 @@ void PPB_Scrollbar_Impl::invalidateScrollbarRect(
// since the PPB_Scrollbar_Impl code is still in the middle of updating its
// internal state.
// Note: we use a WeakPtrFactory here so that a lingering callback can not
- // modify the lifetime of this object. Otherwise, WebKit::WebPluginScrollbar
- // could outlive WebKit::WebPluginContainer, which is against its contract.
+ // modify the lifetime of this object. Otherwise, blink::WebPluginScrollbar
+ // could outlive blink::WebPluginContainer, which is against its contract.
base::MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(&PPB_Scrollbar_Impl::NotifyInvalidate,
@@ -226,8 +226,8 @@ void PPB_Scrollbar_Impl::invalidateScrollbarRect(
}
void PPB_Scrollbar_Impl::getTickmarks(
- WebKit::WebPluginScrollbar* scrollbar,
- WebKit::WebVector<WebKit::WebRect>* tick_marks) const {
+ blink::WebPluginScrollbar* scrollbar,
+ blink::WebVector<blink::WebRect>* tick_marks) const {
if (tickmarks_.empty()) {
WebRect* rects = NULL;
tick_marks->assign(rects, 0);
« no previous file with comments | « content/renderer/pepper/ppb_scrollbar_impl.h ('k') | content/renderer/pepper/ppb_var_deprecated_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698