Index: ui/app_list/cocoa/app_list_view_window.mm |
diff --git a/ui/app_list/cocoa/app_list_view_window.mm b/ui/app_list/cocoa/app_list_view_window.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..96a004954d9739f40f38143de286590e82d524e1 |
--- /dev/null |
+++ b/ui/app_list/cocoa/app_list_view_window.mm |
@@ -0,0 +1,24 @@ |
+// Copyright 2013 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/app_list/cocoa/app_list_view_window.h" |
+ |
+@implementation AppListViewWindow; |
+ |
+- (id)initAsBubble { |
+ const int kWindowWidth = 200; |
+ const int kWindowHeight = 200; |
+ NSRect frame = NSMakeRect(0, 0, kWindowWidth, kWindowHeight); |
+ if ((self = [super initWithContentRect:frame |
+ styleMask:NSBorderlessWindowMask |
+ backing:NSBackingStoreBuffered |
+ defer:NO])) { |
+ [self setReleasedWhenClosed:NO]; |
+ [self setBackgroundColor:[NSColor grayColor]]; |
+ } |
+ |
+ return self; |
+} |
+ |
+@end |