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

Unified Diff: ui/gfx/mac/nswindow_frame_controls.h

Issue 1051953003: Revert of [MacViews] Implement size constraints for app windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/gfx/gfx.gyp ('k') | ui/gfx/mac/nswindow_frame_controls.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mac/nswindow_frame_controls.h
diff --git a/ui/gfx/mac/nswindow_frame_controls.h b/ui/gfx/mac/nswindow_frame_controls.h
deleted file mode 100644
index 7ec7ab7ee0f6b7aecb549f422c51682a4d218c55..0000000000000000000000000000000000000000
--- a/ui/gfx/mac/nswindow_frame_controls.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2015 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_GFX_MAC_NSWINDOW_FRAME_CONTROLS_H_
-#define UI_GFX_MAC_NSWINDOW_FRAME_CONTROLS_H_
-
-#include "ui/gfx/gfx_export.h"
-
-@class NSWindow;
-
-namespace gfx {
-
-class Size;
-
-// Set whether the window can be fullscreened.
-GFX_EXPORT void SetNSWindowCanFullscreen(NSWindow* window,
- bool allow_fullscreen);
-
-// Sets the min/max size of the window as well as showing/hiding resize,
-// maximize, and fullscreen controls.
-// Sizes refer to the content size (inner bounds).
-GFX_EXPORT void ApplyNSWindowSizeConstraints(NSWindow* window,
- const gfx::Size& min_size,
- const gfx::Size& max_size,
- bool can_resize,
- bool can_fullscreen);
-
-} // namespace gfx
-
-#endif // UI_GFX_MAC_NSWINDOW_FRAME_CONTROLS_H_
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gfx/mac/nswindow_frame_controls.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698