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

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

Issue 10905122: Initial NPAPI plugin support in Win Aura. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 3 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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const_cast<RenderWidgetHostViewAndroid*>(this)); 109 const_cast<RenderWidgetHostViewAndroid*>(this));
110 } 110 }
111 111
112 gfx::NativeViewAccessible 112 gfx::NativeViewAccessible
113 RenderWidgetHostViewAndroid::GetNativeViewAccessible() { 113 RenderWidgetHostViewAndroid::GetNativeViewAccessible() {
114 NOTIMPLEMENTED(); 114 NOTIMPLEMENTED();
115 return NULL; 115 return NULL;
116 } 116 }
117 117
118 void RenderWidgetHostViewAndroid::MovePluginWindows( 118 void RenderWidgetHostViewAndroid::MovePluginWindows(
119 const gfx::Point& scroll_offset,
119 const std::vector<webkit::npapi::WebPluginGeometry>& moves) { 120 const std::vector<webkit::npapi::WebPluginGeometry>& moves) {
120 // We don't have plugin windows on Android. Do nothing. Note: this is called 121 // We don't have plugin windows on Android. Do nothing. Note: this is called
121 // from RenderWidgetHost::OnMsgUpdateRect which is itself invoked while 122 // from RenderWidgetHost::OnMsgUpdateRect which is itself invoked while
122 // processing the corresponding message from Renderer. 123 // processing the corresponding message from Renderer.
123 } 124 }
124 125
125 void RenderWidgetHostViewAndroid::Focus() { 126 void RenderWidgetHostViewAndroid::Focus() {
126 host_->Focus(); 127 host_->Focus();
127 host_->SetInputMethodActive(true); 128 host_->SetInputMethodActive(true);
128 } 129 }
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 // RenderWidgetHostView, public: 427 // RenderWidgetHostView, public:
427 428
428 // static 429 // static
429 RenderWidgetHostView* 430 RenderWidgetHostView*
430 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) { 431 RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost* widget) {
431 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget); 432 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(widget);
432 return new RenderWidgetHostViewAndroid(rwhi, NULL); 433 return new RenderWidgetHostViewAndroid(rwhi, NULL);
433 } 434 }
434 435
435 } // namespace content 436 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698