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

Side by Side Diff: content/renderer/pepper/ppb_scrollbar_impl.h

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 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
« no previous file with comments | « content/renderer/pepper/pepper_webplugin_impl.h ('k') | content/renderer/render_view_impl.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_RENDERER_PEPPER_PPB_SCROLLBAR_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PPB_SCROLLBAR_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PPB_SCROLLBAR_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PPB_SCROLLBAR_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "content/renderer/pepper/ppb_widget_impl.h" 13 #include "content/renderer/pepper/ppb_widget_impl.h"
14 #include "ppapi/thunk/ppb_scrollbar_api.h" 14 #include "ppapi/thunk/ppb_scrollbar_api.h"
15 #include "third_party/WebKit/public/platform/WebRect.h" 15 #include "third_party/WebKit/public/platform/WebRect.h"
16 #include "third_party/WebKit/public/web/WebPluginScrollbarClient.h" 16 #include "third_party/WebKit/public/web/WebPluginScrollbarClient.h"
17 #include "ui/gfx/rect.h" 17 #include "ui/gfx/geometry/rect.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 class PPB_Scrollbar_Impl : public PPB_Widget_Impl, 21 class PPB_Scrollbar_Impl : public PPB_Widget_Impl,
22 public ppapi::thunk::PPB_Scrollbar_API, 22 public ppapi::thunk::PPB_Scrollbar_API,
23 public blink::WebPluginScrollbarClient { 23 public blink::WebPluginScrollbarClient {
24 public: 24 public:
25 static PP_Resource Create(PP_Instance instance, bool vertical); 25 static PP_Resource Create(PP_Instance instance, bool vertical);
26 26
27 // Resource overrides. 27 // Resource overrides.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 // 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.
68 base::WeakPtrFactory<PPB_Scrollbar_Impl> weak_ptr_factory_; 68 base::WeakPtrFactory<PPB_Scrollbar_Impl> weak_ptr_factory_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(PPB_Scrollbar_Impl); 70 DISALLOW_COPY_AND_ASSIGN(PPB_Scrollbar_Impl);
71 }; 71 };
72 72
73 } // namespace content 73 } // namespace content
74 74
75 #endif // CONTENT_RENDERER_PEPPER_PPB_SCROLLBAR_IMPL_H_ 75 #endif // CONTENT_RENDERER_PEPPER_PPB_SCROLLBAR_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_webplugin_impl.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698