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

Side by Side Diff: webkit/plugins/ppapi/ppb_scrollbar_impl.h

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/ppb_graphics_2d_impl.cc ('k') | webkit/plugins/ppapi/quota_file_io.cc » ('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 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/task.h"
12 #include "ppapi/thunk/ppb_scrollbar_api.h" 11 #include "ppapi/thunk/ppb_scrollbar_api.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScrollbarClient.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScrollbarClient.h"
15 #include "ui/gfx/rect.h" 14 #include "ui/gfx/rect.h"
16 #include "webkit/plugins/ppapi/ppb_widget_impl.h" 15 #include "webkit/plugins/ppapi/ppb_widget_impl.h"
17 16
18 namespace webkit { 17 namespace webkit {
19 namespace ppapi { 18 namespace ppapi {
20 19
21 class PPB_Scrollbar_Impl : public PPB_Widget_Impl, 20 class PPB_Scrollbar_Impl : public PPB_Widget_Impl,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Used so that the post task for Invalidate doesn't keep an extra reference. 67 // Used so that the post task for Invalidate doesn't keep an extra reference.
69 base::WeakPtrFactory<PPB_Scrollbar_Impl> weak_ptr_factory_; 68 base::WeakPtrFactory<PPB_Scrollbar_Impl> weak_ptr_factory_;
70 69
71 DISALLOW_COPY_AND_ASSIGN(PPB_Scrollbar_Impl); 70 DISALLOW_COPY_AND_ASSIGN(PPB_Scrollbar_Impl);
72 }; 71 };
73 72
74 } // namespace ppapi 73 } // namespace ppapi
75 } // namespace webkit 74 } // namespace webkit
76 75
77 #endif // WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_ 76 #endif // WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_graphics_2d_impl.cc ('k') | webkit/plugins/ppapi/quota_file_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698