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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 19761007: Move NPAPI implementation out of webkit/plugins/npapi and into content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 7 years, 5 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/render_widget_host_view_android.h" 5 #include "content/browser/renderer_host/render_widget_host_view_android.h"
6 6
7 #include <android/bitmap.h> 7 #include <android/bitmap.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 } 283 }
284 284
285 gfx::NativeViewAccessible 285 gfx::NativeViewAccessible
286 RenderWidgetHostViewAndroid::GetNativeViewAccessible() { 286 RenderWidgetHostViewAndroid::GetNativeViewAccessible() {
287 NOTIMPLEMENTED(); 287 NOTIMPLEMENTED();
288 return NULL; 288 return NULL;
289 } 289 }
290 290
291 void RenderWidgetHostViewAndroid::MovePluginWindows( 291 void RenderWidgetHostViewAndroid::MovePluginWindows(
292 const gfx::Vector2d& scroll_offset, 292 const gfx::Vector2d& scroll_offset,
293 const std::vector<webkit::npapi::WebPluginGeometry>& moves) { 293 const std::vector<WebPluginGeometry>& moves) {
294 // We don't have plugin windows on Android. Do nothing. Note: this is called 294 // We don't have plugin windows on Android. Do nothing. Note: this is called
295 // from RenderWidgetHost::OnUpdateRect which is itself invoked while 295 // from RenderWidgetHost::OnUpdateRect which is itself invoked while
296 // processing the corresponding message from Renderer. 296 // processing the corresponding message from Renderer.
297 } 297 }
298 298
299 void RenderWidgetHostViewAndroid::Focus() { 299 void RenderWidgetHostViewAndroid::Focus() {
300 host_->Focus(); 300 host_->Focus();
301 host_->SetInputMethodActive(true); 301 host_->SetInputMethodActive(true);
302 ResetClipping(); 302 ResetClipping();
303 if (overscroll_effect_) 303 if (overscroll_effect_)
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 // RenderWidgetHostView, public: 1124 // RenderWidgetHostView, public:
1125 1125
1126 // static 1126 // static
1127 RenderWidgetHostView* 1127 RenderWidgetHostView*
1128 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { 1128 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) {
1129 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); 1129 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget);
1130 return new RenderWidgetHostViewAndroid(rwhi, NULL); 1130 return new RenderWidgetHostViewAndroid(rwhi, NULL);
1131 } 1131 }
1132 1132
1133 } // namespace content 1133 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698