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

Unified Diff: chrome/views/resize_corner.cc

Issue 16488: Add a new resizer corner overlay. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/views/resize_corner.h ('k') | chrome/views/views.vcproj » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/resize_corner.cc
===================================================================
--- chrome/views/resize_corner.cc (revision 9328)
+++ chrome/views/resize_corner.cc (working copy)
@@ -1,33 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/views/resize_corner.h"
-
-#include <vssym32.h>
-
-#include "base/gfx/native_theme.h"
-#include "chrome/common/gfx/chrome_canvas.h"
-
-namespace views {
-
-ResizeCorner::ResizeCorner() {
-}
-
-ResizeCorner::~ResizeCorner() {
-}
-
-void ResizeCorner::Paint(ChromeCanvas* canvas) {
- // Paint the little handle.
- RECT widgetRect = { 0, 0, width(), height() };
- HDC hdc = canvas->beginPlatformPaint();
- gfx::NativeTheme::instance()->PaintStatusGripper(hdc,
- SP_GRIPPER,
- 0,
- 0,
- &widgetRect);
- canvas->endPlatformPaint();
-}
-
-} // namespace views
-
« no previous file with comments | « chrome/views/resize_corner.h ('k') | chrome/views/views.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698