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

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

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppb_scrollbar_impl.h » ('j') | 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) 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/ppb_graphics_2d_impl.h" 5 #include "webkit/plugins/ppapi/ppb_graphics_2d_impl.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/task.h"
13 #include "skia/ext/platform_canvas.h" 12 #include "skia/ext/platform_canvas.h"
14 #include "ppapi/c/pp_errors.h" 13 #include "ppapi/c/pp_errors.h"
15 #include "ppapi/c/pp_rect.h" 14 #include "ppapi/c/pp_rect.h"
16 #include "ppapi/c/pp_resource.h" 15 #include "ppapi/c/pp_resource.h"
17 #include "ppapi/c/ppb_graphics_2d.h" 16 #include "ppapi/c/ppb_graphics_2d.h"
18 #include "ppapi/thunk/enter.h" 17 #include "ppapi/thunk/enter.h"
19 #include "ppapi/thunk/thunk.h" 18 #include "ppapi/thunk/thunk.h"
20 #include "third_party/skia/include/core/SkBitmap.h" 19 #include "third_party/skia/include/core/SkBitmap.h"
21 #include "ui/gfx/blit.h" 20 #include "ui/gfx/blit.h"
22 #include "ui/gfx/point.h" 21 #include "ui/gfx/point.h"
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 } 644 }
646 645
647 bool PPB_Graphics2D_Impl::HasPendingFlush() const { 646 bool PPB_Graphics2D_Impl::HasPendingFlush() const {
648 return !unpainted_flush_callback_.is_null() || 647 return !unpainted_flush_callback_.is_null() ||
649 !painted_flush_callback_.is_null() || 648 !painted_flush_callback_.is_null() ||
650 offscreen_flush_pending_; 649 offscreen_flush_pending_;
651 } 650 }
652 651
653 } // namespace ppapi 652 } // namespace ppapi
654 } // namespace webkit 653 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppb_scrollbar_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698