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

Side by Side Diff: webkit/plugins/ppapi/ppapi_webplugin_impl.cc

Issue 7538006: Pepper and WebKit API change to support a plugin knowing if a scrollbar is an overlay one. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Get rid of ScrollbarGroup's methods and the ResizeClient interface Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/plugins/ppapi/ppapi_webplugin_impl.h" 5 #include "webkit/plugins/ppapi/ppapi_webplugin_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 } 217 }
218 218
219 void WebPluginImpl::selectFindResult(bool forward) { 219 void WebPluginImpl::selectFindResult(bool forward) {
220 instance_->SelectFindResult(forward); 220 instance_->SelectFindResult(forward);
221 } 221 }
222 222
223 void WebPluginImpl::stopFind() { 223 void WebPluginImpl::stopFind() {
224 instance_->StopFind(); 224 instance_->StopFind();
225 } 225 }
226 226
227 void WebPluginImpl::willStartLiveResize() {
228 instance_->WillStartLiveResize();
229 }
230
231 void WebPluginImpl::willEndLiveResize() {
232 instance_->WillEndLiveResize();
233 }
234
227 bool WebPluginImpl::supportsPaginatedPrint() { 235 bool WebPluginImpl::supportsPaginatedPrint() {
228 return instance_->SupportsPrintInterface(); 236 return instance_->SupportsPrintInterface();
229 } 237 }
230 238
231 int WebPluginImpl::printBegin(const WebKit::WebRect& printable_area, 239 int WebPluginImpl::printBegin(const WebKit::WebRect& printable_area,
232 int printer_dpi) { 240 int printer_dpi) {
233 return instance_->PrintBegin(printable_area, printer_dpi); 241 return instance_->PrintBegin(printable_area, printer_dpi);
234 } 242 }
235 243
236 bool WebPluginImpl::printPage(int page_number, 244 bool WebPluginImpl::printPage(int page_number,
237 WebKit::WebCanvas* canvas) { 245 WebKit::WebCanvas* canvas) {
238 return instance_->PrintPage(page_number, canvas); 246 return instance_->PrintPage(page_number, canvas);
239 } 247 }
240 248
241 void WebPluginImpl::printEnd() { 249 void WebPluginImpl::printEnd() {
242 return instance_->PrintEnd(); 250 return instance_->PrintEnd();
243 } 251 }
244 252
245 } // namespace ppapi 253 } // namespace ppapi
246 } // namespace webkit 254 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698