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

Side by Side Diff: ui/views/bubble/tray_bubble_view.cc

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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) 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 "ui/views/bubble/tray_bubble_view.h" 5 #include "ui/views/bubble/tray_bubble_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/macros.h"
9 #include "third_party/skia/include/core/SkCanvas.h" 10 #include "third_party/skia/include/core/SkCanvas.h"
10 #include "third_party/skia/include/core/SkColor.h" 11 #include "third_party/skia/include/core/SkColor.h"
11 #include "third_party/skia/include/core/SkPaint.h" 12 #include "third_party/skia/include/core/SkPaint.h"
12 #include "third_party/skia/include/core/SkPath.h" 13 #include "third_party/skia/include/core/SkPath.h"
13 #include "third_party/skia/include/effects/SkBlurImageFilter.h" 14 #include "third_party/skia/include/effects/SkBlurImageFilter.h"
14 #include "ui/accessibility/ax_view_state.h" 15 #include "ui/accessibility/ax_view_state.h"
15 #include "ui/aura/window.h" 16 #include "ui/aura/window.h"
16 #include "ui/compositor/layer.h" 17 #include "ui/compositor/layer.h"
17 #include "ui/compositor/layer_delegate.h" 18 #include "ui/compositor/layer_delegate.h"
18 #include "ui/compositor/paint_recorder.h" 19 #include "ui/compositor/paint_recorder.h"
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 void TrayBubbleView::ViewHierarchyChanged( 503 void TrayBubbleView::ViewHierarchyChanged(
503 const ViewHierarchyChangedDetails& details) { 504 const ViewHierarchyChangedDetails& details) {
504 if (details.is_add && details.child == this) { 505 if (details.is_add && details.child == this) {
505 details.parent->SetPaintToLayer(true); 506 details.parent->SetPaintToLayer(true);
506 details.parent->SetFillsBoundsOpaquely(true); 507 details.parent->SetFillsBoundsOpaquely(true);
507 details.parent->layer()->SetMasksToBounds(true); 508 details.parent->layer()->SetMasksToBounds(true);
508 } 509 }
509 } 510 }
510 511
511 } // namespace views 512 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698