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

Side by Side Diff: webkit/glue/plugins/pepper_webplugin_impl.cc

Issue 3386019: Pull latest PPAPI. Change support for key handling. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « webkit/glue/plugins/pepper_plugin_instance.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "webkit/glue/plugins/pepper_webplugin_impl.h" 5 #include "webkit/glue/plugins/pepper_webplugin_impl.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "third_party/ppapi/c/pp_var.h" 8 #include "third_party/ppapi/c/pp_var.h"
9 #include "third_party/WebKit/WebKit/chromium/public/WebPluginParams.h" 9 #include "third_party/WebKit/WebKit/chromium/public/WebPluginParams.h"
10 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 const WebRect& window_rect, 89 const WebRect& window_rect,
90 const WebRect& clip_rect, 90 const WebRect& clip_rect,
91 const WebVector<WebRect>& cut_outs_rects, 91 const WebVector<WebRect>& cut_outs_rects,
92 bool is_visible) { 92 bool is_visible) {
93 plugin_rect_ = window_rect; 93 plugin_rect_ = window_rect;
94 if (!instance_->IsFullscreen()) 94 if (!instance_->IsFullscreen())
95 instance_->ViewChanged(plugin_rect_, clip_rect); 95 instance_->ViewChanged(plugin_rect_, clip_rect);
96 } 96 }
97 97
98 void WebPluginImpl::updateFocus(bool focused) { 98 void WebPluginImpl::updateFocus(bool focused) {
99 instance_->FocusChanged(focused);
99 } 100 }
100 101
101 void WebPluginImpl::updateVisibility(bool visible) { 102 void WebPluginImpl::updateVisibility(bool visible) {
102 } 103 }
103 104
104 bool WebPluginImpl::acceptsInputEvents() { 105 bool WebPluginImpl::acceptsInputEvents() {
105 return true; 106 return true;
106 } 107 }
107 108
108 bool WebPluginImpl::handleInputEvent(const WebKit::WebInputEvent& event, 109 bool WebPluginImpl::handleInputEvent(const WebKit::WebInputEvent& event,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 bool WebPluginImpl::printPage(int page_number, 195 bool WebPluginImpl::printPage(int page_number,
195 WebKit::WebCanvas* canvas) { 196 WebKit::WebCanvas* canvas) {
196 return instance_->PrintPage(page_number, canvas); 197 return instance_->PrintPage(page_number, canvas);
197 } 198 }
198 199
199 void WebPluginImpl::printEnd() { 200 void WebPluginImpl::printEnd() {
200 return instance_->PrintEnd(); 201 return instance_->PrintEnd();
201 } 202 }
202 203
203 } // namespace pepper 204 } // namespace pepper
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_plugin_instance.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698