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

Unified Diff: ui/views/controls/resize_area_delegate.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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 | « ui/views/controls/resize_area.cc ('k') | ui/views/controls/scroll_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/resize_area_delegate.h
diff --git a/ui/views/controls/resize_area_delegate.h b/ui/views/controls/resize_area_delegate.h
deleted file mode 100644
index cc5e133d8ccf899614e09f905d307192052bc89d..0000000000000000000000000000000000000000
--- a/ui/views/controls/resize_area_delegate.h
+++ /dev/null
@@ -1,28 +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.
-
-#ifndef UI_VIEWS_CONTROLS_RESIZE_AREA_DELEGATE_H_
-#define UI_VIEWS_CONTROLS_RESIZE_AREA_DELEGATE_H_
-
-namespace views {
-
-// An interface implemented by objects that want to be notified about the resize
-// event.
-class ResizeAreaDelegate {
- public:
- // OnResize is sent when resizing is detected. |resize_amount| specifies the
- // number of pixels that the user wants to resize by, and can be negative or
- // positive (depending on direction of dragging and flips according to
- // locale directionality: dragging to the left in LTR locales gives negative
- // |resize_amount| but positive amount for RTL). |done_resizing| is true if
- // the user has released the mouse.
- virtual void OnResize(int resize_amount, bool done_resizing) = 0;
-
- protected:
- virtual ~ResizeAreaDelegate() {}
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_CONTROLS_RESIZE_AREA_DELEGATE_H_
« no previous file with comments | « ui/views/controls/resize_area.cc ('k') | ui/views/controls/scroll_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698