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

Side by Side Diff: cc/layers/scrollbar_layer.cc

Issue 14348033: NOT FOR SUBMIT - Windows Views HiDPI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Revert spurious changes, plus some corrections. Created 7 years, 6 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 | « no previous file | chrome/browser/thumbnails/simple_thumbnail_crop.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
2 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
3 // 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
4 // found in the LICENSE file. 3 // found in the LICENSE file.
5 4
6 #include "cc/layers/scrollbar_layer.h" 5 #include "cc/layers/scrollbar_layer.h"
7 6
8 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
11 #include "cc/layers/scrollbar_layer_impl.h" 10 #include "cc/layers/scrollbar_layer_impl.h"
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 thumb_size = gfx::Size(scrollbar_->ThumbLength(), 340 thumb_size = gfx::Size(scrollbar_->ThumbLength(),
342 scrollbar_->ThumbThickness()); 341 scrollbar_->ThumbThickness());
343 } else { 342 } else {
344 thumb_size = gfx::Size(scrollbar_->ThumbThickness(), 343 thumb_size = gfx::Size(scrollbar_->ThumbThickness(),
345 scrollbar_->ThumbLength()); 344 scrollbar_->ThumbLength());
346 } 345 }
347 return ScrollbarLayerRectToContentRect(gfx::Rect(thumb_size)); 346 return ScrollbarLayerRectToContentRect(gfx::Rect(thumb_size));
348 } 347 }
349 348
350 } // namespace cc 349 } // namespace cc
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/thumbnails/simple_thumbnail_crop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698