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

Side by Side Diff: chrome/browser/chromeos/login/rounded_view.h

Issue 5709001: Place the spinner in the right corner of the controls window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/chromeos/login
Patch Set: nits Created 10 years 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 | Annotate | Revision Log
OLDNEW
1 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_VIEW_FILTER_H_ 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 #define CHROME_BROWSER_CHROMEOS_LOGIN_VIEW_FILTER_H_ 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_VIEW_H_
3 7
4 #include "gfx/canvas.h" 8 #include "gfx/canvas.h"
5 #include "gfx/canvas_skia.h" 9 #include "gfx/canvas_skia.h"
6 #include "gfx/rect.h" 10 #include "gfx/rect.h"
7 11
8 namespace chromeos { 12 namespace chromeos {
9 13
10 namespace rounded_view { 14 namespace rounded_view {
11 15
12 // Corner radius of the RoundedView. 16 // Corner radius of the RoundedView.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 view_rect.fTop -= kDelta; 121 view_rect.fTop -= kDelta;
118 view_rect.offset(rounded_view::kStrokeWidth - kDelta, 122 view_rect.offset(rounded_view::kStrokeWidth - kDelta,
119 rounded_view::kStrokeWidth - kDelta); 123 rounded_view::kStrokeWidth - kDelta);
120 paint.setColor(rounded_view::kOuterFrameColor); 124 paint.setColor(rounded_view::kOuterFrameColor);
121 canvas->AsCanvasSkia()->drawRoundRect(view_rect, rounded_view::kCornerRadius, 125 canvas->AsCanvasSkia()->drawRoundRect(view_rect, rounded_view::kCornerRadius,
122 rounded_view::kCornerRadius, paint); 126 rounded_view::kCornerRadius, paint);
123 } 127 }
124 128
125 } 129 }
126 130
127 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_VIEW_FILTER_H_ 131 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/new_user_view.cc ('k') | chrome/browser/chromeos/login/screen_lock_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698