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

Side by Side Diff: Source/WebKit/chromium/src/WebViewImpl.cpp

Issue 14707008: Remove WebKit::GraphicsContextBuilder, which was trivial. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Undo whitespace change Created 7 years, 7 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 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 #include "core/platform/graphics/chromium/LayerPainterChromium.h" 138 #include "core/platform/graphics/chromium/LayerPainterChromium.h"
139 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" 139 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h"
140 #include "core/platform/graphics/skia/PlatformContextSkia.h" 140 #include "core/platform/graphics/skia/PlatformContextSkia.h"
141 #include "core/platform/network/ResourceHandle.h" 141 #include "core/platform/network/ResourceHandle.h"
142 #include "core/rendering/RenderLayerCompositor.h" 142 #include "core/rendering/RenderLayerCompositor.h"
143 #include "core/rendering/RenderView.h" 143 #include "core/rendering/RenderView.h"
144 #include "core/rendering/RenderWidget.h" 144 #include "core/rendering/RenderWidget.h"
145 #include "modules/battery/BatteryController.h" 145 #include "modules/battery/BatteryController.h"
146 #include "modules/geolocation/GeolocationController.h" 146 #include "modules/geolocation/GeolocationController.h"
147 #include "painting/ContinuousPainter.h" 147 #include "painting/ContinuousPainter.h"
148 #include "painting/GraphicsContextBuilder.h"
149 #include <public/Platform.h> 148 #include <public/Platform.h>
150 #include <public/WebCompositorOutputSurface.h> 149 #include <public/WebCompositorOutputSurface.h>
151 #include <public/WebCompositorSupport.h> 150 #include <public/WebCompositorSupport.h>
152 #include <public/WebDragData.h> 151 #include <public/WebDragData.h>
153 #include <public/WebFloatPoint.h> 152 #include <public/WebFloatPoint.h>
154 #include <public/WebGraphicsContext3D.h> 153 #include <public/WebGraphicsContext3D.h>
155 #include <public/WebImage.h> 154 #include <public/WebImage.h>
156 #include <public/WebLayer.h> 155 #include <public/WebLayer.h>
157 #include <public/WebLayerTreeView.h> 156 #include <public/WebLayerTreeView.h>
158 #include <public/WebPoint.h> 157 #include <public/WebPoint.h>
(...skipping 4052 matching lines...) Expand 10 before | Expand all | Expand 10 after
4211 } 4210 }
4212 4211
4213 bool WebViewImpl::shouldDisableDesktopWorkarounds() 4212 bool WebViewImpl::shouldDisableDesktopWorkarounds()
4214 { 4213 {
4215 ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport Arguments(); 4214 ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport Arguments();
4216 return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments. userZoom 4215 return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments. userZoom
4217 || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp ortArguments::ValueAuto); 4216 || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp ortArguments::ValueAuto);
4218 } 4217 }
4219 4218
4220 } // namespace WebKit 4219 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698