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

Unified Diff: chrome/browser/platform_util_mac.mm

Issue 2688413007: Add display::GetDisplayNearestView (Closed)
Patch Set: add missing files Created 3 years, 10 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/platform_util_mac.mm
diff --git a/chrome/browser/platform_util_mac.mm b/chrome/browser/platform_util_mac.mm
index cb0c3096ddb7cad41bf734498f21136748322875..7ffa3ae3544a2b5610cba67d491181949daba84d 100644
--- a/chrome/browser/platform_util_mac.mm
+++ b/chrome/browser/platform_util_mac.mm
@@ -80,10 +80,6 @@ void OpenExternal(Profile* profile, const GURL& url) {
LOG(WARNING) << "NSWorkspace failed to open URL " << url;
}
-gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
- return [view window];
-}
-
gfx::NativeView GetViewForWindow(gfx::NativeWindow window) {
DCHECK(window);
DCHECK([window contentView]);

Powered by Google App Engine
This is Rietveld 408576698