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

Unified Diff: ui/aura/root_window_mac.mm

Issue 23483041: [Cleanup] Remove mac code from aura/ash/views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/aura/root_window_mac.h ('k') | ui/aura/root_window_view_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_mac.mm
diff --git a/ui/aura/root_window_mac.mm b/ui/aura/root_window_mac.mm
deleted file mode 100644
index 32e42b7ad9d7c5b5a4286db62e38b8cbc8dff9c7..0000000000000000000000000000000000000000
--- a/ui/aura/root_window_mac.mm
+++ /dev/null
@@ -1,35 +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.
-
-#import "ui/aura/root_window_mac.h"
-
-#include "ui/aura/root_window_host_mac.h"
-
-@implementation RootWindowMac
-
-- (id)initWithContentRect:(NSRect)contentRect
- styleMask:(NSUInteger)windowStyle
- backing:(NSBackingStoreType)bufferingType
- defer:(BOOL)deferCreation {
- if ((self = [super initWithContentRect:contentRect
- styleMask:windowStyle
- backing:bufferingType
- defer:deferCreation])) {
- hostDelegate_ = NULL;
- }
- return self;
-}
-
-- (void)setHostDelegate:(aura::RootWindowHostMacDelegate*)hostDelegate {
- hostDelegate_ = hostDelegate;
-}
-
-- (void)sendEvent:(NSEvent*)event {
- // Allow both the Cocoa machinery and the Aura machinery to handle the event.
- [super sendEvent:event];
- if (hostDelegate_)
- hostDelegate_->SendEvent(event);
-}
-
-@end
« no previous file with comments | « ui/aura/root_window_mac.h ('k') | ui/aura/root_window_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698