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

Unified Diff: views/paint_lock.cc

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « views/paint_lock.h ('k') | views/painter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/paint_lock.cc
diff --git a/views/paint_lock.cc b/views/paint_lock.cc
deleted file mode 100644
index 3b2ce1d34fa2e999ba6c074daf40cb150ac6ff4b..0000000000000000000000000000000000000000
--- a/views/paint_lock.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) 2011 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 "views/paint_lock.h"
-
-#include "ui/views/view.h"
-
-namespace views {
-
-PaintLock::PaintLock(View* view) : view_(view) {
- view_->set_painting_enabled(false);
-}
-
-PaintLock::~PaintLock() {
- view_->set_painting_enabled(true);
-}
-
-} // namespace views
« no previous file with comments | « views/paint_lock.h ('k') | views/painter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698