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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE 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
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 #include "content/browser/renderer_host/render_widget_host_impl.h" 5 #include "content/browser/renderer_host/render_widget_host_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 #include "content/public/common/content_switches.h" 60 #include "content/public/common/content_switches.h"
61 #include "content/public/common/result_codes.h" 61 #include "content/public/common/result_codes.h"
62 #include "content/public/common/web_preferences.h" 62 #include "content/public/common/web_preferences.h"
63 #include "gpu/GLES2/gl2extchromium.h" 63 #include "gpu/GLES2/gl2extchromium.h"
64 #include "gpu/command_buffer/service/gpu_switches.h" 64 #include "gpu/command_buffer/service/gpu_switches.h"
65 #include "skia/ext/image_operations.h" 65 #include "skia/ext/image_operations.h"
66 #include "skia/ext/platform_canvas.h" 66 #include "skia/ext/platform_canvas.h"
67 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" 67 #include "third_party/WebKit/public/web/WebCompositionUnderline.h"
68 #include "ui/events/event.h" 68 #include "ui/events/event.h"
69 #include "ui/events/keycodes/keyboard_codes.h" 69 #include "ui/events/keycodes/keyboard_codes.h"
70 #include "ui/gfx/geometry/size_conversions.h"
70 #include "ui/gfx/geometry/vector2d_conversions.h" 71 #include "ui/gfx/geometry/vector2d_conversions.h"
71 #include "ui/gfx/size_conversions.h"
72 #include "ui/gfx/skbitmap_operations.h" 72 #include "ui/gfx/skbitmap_operations.h"
73 #include "ui/snapshot/snapshot.h" 73 #include "ui/snapshot/snapshot.h"
74 74
75 #if defined(OS_WIN) 75 #if defined(OS_WIN)
76 #include "content/common/plugin_constants_win.h" 76 #include "content/common/plugin_constants_win.h"
77 #endif 77 #endif
78 78
79 using base::Time; 79 using base::Time;
80 using base::TimeDelta; 80 using base::TimeDelta;
81 using base::TimeTicks; 81 using base::TimeTicks;
(...skipping 2082 matching lines...) Expand 10 before | Expand all | Expand 10 after
2164 } 2164 }
2165 #endif 2165 #endif
2166 2166
2167 SkColorType RenderWidgetHostImpl::PreferredReadbackFormat() { 2167 SkColorType RenderWidgetHostImpl::PreferredReadbackFormat() {
2168 if (view_) 2168 if (view_)
2169 return view_->PreferredReadbackFormat(); 2169 return view_->PreferredReadbackFormat();
2170 return kN32_SkColorType; 2170 return kN32_SkColorType;
2171 } 2171 }
2172 2172
2173 } // namespace content 2173 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698