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

Side by Side Diff: content/browser/web_contents/aura/shadow_layer_delegate.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/web_contents/aura/shadow_layer_delegate.h" 5 #include "content/browser/web_contents/aura/shadow_layer_delegate.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h"
8 #include "third_party/skia/include/effects/SkGradientShader.h" 9 #include "third_party/skia/include/effects/SkGradientShader.h"
9 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
10 #include "ui/compositor/layer.h" 11 #include "ui/compositor/layer.h"
11 #include "ui/compositor/paint_recorder.h" 12 #include "ui/compositor/paint_recorder.h"
12 #include "ui/gfx/canvas.h" 13 #include "ui/gfx/canvas.h"
13 #include "ui/gfx/skia_util.h" 14 #include "ui/gfx/skia_util.h"
14 15
15 namespace { 16 namespace {
16 17
17 const SkColor kShadowLightColor = SkColorSetARGB(0x0, 0, 0, 0); 18 const SkColor kShadowLightColor = SkColorSetARGB(0x0, 0, 0, 0);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 59 }
59 60
60 void ShadowLayerDelegate::OnDeviceScaleFactorChanged(float scale_factor) { 61 void ShadowLayerDelegate::OnDeviceScaleFactorChanged(float scale_factor) {
61 } 62 }
62 63
63 base::Closure ShadowLayerDelegate::PrepareForLayerBoundsChange() { 64 base::Closure ShadowLayerDelegate::PrepareForLayerBoundsChange() {
64 return base::Bind(&base::DoNothing); 65 return base::Bind(&base::DoNothing);
65 } 66 }
66 67
67 } // namespace content 68 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/aura/shadow_layer_delegate.h ('k') | content/browser/web_contents/opened_by_dom_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698