| Index: ui/views/corewm/window_resizer.h
|
| ===================================================================
|
| --- ui/views/corewm/window_resizer.h (revision 173169)
|
| +++ ui/views/corewm/window_resizer.h (working copy)
|
| @@ -2,24 +2,25 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef ASH_WM_WINDOW_RESIZER_H_
|
| -#define ASH_WM_WINDOW_RESIZER_H_
|
| +#ifndef UI_VIEWS_COREWM_WINDOW_RESIZER_H_
|
| +#define UI_VIEWS_COREWM_WINDOW_RESIZER_H_
|
|
|
| -#include "ash/ash_export.h"
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "ui/gfx/rect.h"
|
| +#include "ui/views/views_export.h"
|
|
|
| namespace aura {
|
| class Window;
|
| }
|
|
|
| -namespace ash {
|
| +namespace views {
|
| +namespace corewm {
|
|
|
| // WindowResizer is used by ToplevelWindowEventFilter to handle dragging, moving
|
| // or resizing a window. All coordinates passed to this are in the parent
|
| // windows coordinates.
|
| -class ASH_EXPORT WindowResizer {
|
| +class VIEWS_EXPORT WindowResizer {
|
| public:
|
| // Constants to identify the type of resize.
|
| static const int kBoundsChange_None;
|
| @@ -52,7 +53,7 @@
|
| virtual aura::Window* GetTarget() = 0;
|
|
|
| protected:
|
| - struct Details {
|
| + struct VIEWS_EXPORT Details {
|
| Details();
|
| Details(aura::Window* window,
|
| const gfx::Point& location,
|
| @@ -122,13 +123,7 @@
|
| int* delta_y);
|
| };
|
|
|
| -// Creates a WindowResizer for |window|. This can return a scoped_ptr
|
| -// initialized with NULL if |window| should not be resized nor dragged.
|
| -ASH_EXPORT scoped_ptr<WindowResizer> CreateWindowResizer(
|
| - aura::Window* window,
|
| - const gfx::Point& point_in_parent,
|
| - int window_component);
|
| +} // namespace corewm
|
| +} // namespace views
|
|
|
| -} // namespace aura
|
| -
|
| -#endif // ASH_WM_WINDOW_RESIZER_H_
|
| +#endif // UI_VIEWS_COREWM_WINDOW_RESIZER_H_
|
|
|