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

Unified Diff: ui/app_list/cocoa/app_list_view_window.mm

Issue 11784034: Skeleton for app_list on OSX, and refactoring for enable_app_list=1 on OS=="mac". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase for 175876 and 175961 Created 7 years, 11 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/app_list/cocoa/app_list_view_window.h ('k') | ui/app_list/cocoa/app_list_view_window_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/app_list/cocoa/app_list_view_window.h ('k') | ui/app_list/cocoa/app_list_view_window_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698