Chromium Code Reviews| Index: webkit/plugins/ppapi/ppapi_webplugin_impl.cc |
| diff --git a/webkit/plugins/ppapi/ppapi_webplugin_impl.cc b/webkit/plugins/ppapi/ppapi_webplugin_impl.cc |
| index cc6e66d622ab2d124118dbccbddb7bc9b013b4ae..2747b9da9823c2a164193ae95e3f54965857b645 100644 |
| --- a/webkit/plugins/ppapi/ppapi_webplugin_impl.cc |
| +++ b/webkit/plugins/ppapi/ppapi_webplugin_impl.cc |
| @@ -118,8 +118,7 @@ bool WebPluginImpl::getFormValue(WebString* value) { |
| } |
| void WebPluginImpl::paint(WebCanvas* canvas, const WebRect& rect) { |
| - if (!instance_->IsFullscreenOrPending()) |
|
polina
2011/09/02 00:19:26
why are we no longer checking this?
|
| - instance_->Paint(canvas, plugin_rect_, rect); |
| + instance_->Paint(canvas, plugin_rect_, rect); |
| } |
| void WebPluginImpl::updateGeometry( |
| @@ -128,8 +127,7 @@ void WebPluginImpl::updateGeometry( |
| const WebVector<WebRect>& cut_outs_rects, |
| bool is_visible) { |
| plugin_rect_ = window_rect; |
| - if (!instance_->IsFullscreenOrPending()) |
| - instance_->ViewChanged(plugin_rect_, clip_rect); |
| + instance_->ViewChanged(plugin_rect_, clip_rect); |
| } |
| void WebPluginImpl::updateFocus(bool focused) { |
| @@ -145,8 +143,6 @@ bool WebPluginImpl::acceptsInputEvents() { |
| bool WebPluginImpl::handleInputEvent(const WebKit::WebInputEvent& event, |
| WebKit::WebCursorInfo& cursor_info) { |
| - if (instance_->IsFullscreenOrPending()) |
| - return false; |
| return instance_->HandleInputEvent(event, &cursor_info); |
| } |