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

Unified Diff: chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h

Issue 2263863002: Remove implementation of Panels on OSes other than ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback Created 4 years, 4 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
Index: chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h
diff --git a/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h b/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h
deleted file mode 100644
index f822bc7a90f9efb3cb7c7a2af3bf925fac54dc5d..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2012 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 CHROME_BROWSER_UI_COCOA_PANELS_PANEL_UTILS_COCOA_H_
-#define CHROME_BROWSER_UI_COCOA_PANELS_PANEL_UTILS_COCOA_H_
-
-#import <Cocoa/Cocoa.h>
-#include "ui/gfx/geometry/point.h"
-#include "ui/gfx/geometry/rect.h"
-
-namespace cocoa_utils {
-
-// TODO(dcheng): Move elsewhere so BrowserWindowCocoa can use them too.
-// Converts a rect from the platform-independent screen coordinates (with the
-// (0,0) in the top-left corner of the primary screen) to the Cocoa screen
-// coordinates (with (0,0) in the low-left corner).
-NSRect ConvertRectToCocoaCoordinates(const gfx::Rect& bounds);
-
-// Converts a rect from the Cocoa screen oordinates (with (0,0) in the low-left
-// corner) to the platform-independent screen coordinates (with the (0,0) in
-// the top-left corner of the primary screen).
-gfx::Rect ConvertRectFromCocoaCoordinates(NSRect bounds);
-
-// Converts a point from the platform-independent screen coordinates (with the
-// (0,0) in the top-left corner of the primary screen) to the Cocoa screen
-// coordinates (with (0,0) in the low-left corner).
-NSPoint ConvertPointToCocoaCoordinates(const gfx::Point& point);
-
-// Converts a point from the Cocoa screen coordinates (with (0,0) in the
-// low-left corner of the primary screen) to the platform-independent screen
-// coordinates (with the (0,0) in the top-left corner).
-gfx::Point ConvertPointFromCocoaCoordinates(NSPoint point);
-
-} // namespace cocoa_utils
-
-#endif // CHROME_BROWSER_UI_COCOA_PANELS_PANEL_UTILS_COCOA_H_
« no previous file with comments | « chrome/browser/ui/cocoa/panels/panel_titlebar_view_cocoa.mm ('k') | chrome/browser/ui/cocoa/panels/panel_utils_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698