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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import "ui/app_list/cocoa/app_list_view_window.h"
6
7 @implementation AppListViewWindow;
8
9 - (id)initAsBubble {
10 const int kWindowWidth = 200;
11 const int kWindowHeight = 200;
12 NSRect frame = NSMakeRect(0, 0, kWindowWidth, kWindowHeight);
13 if ((self = [super initWithContentRect:frame
14 styleMask:NSBorderlessWindowMask
15 backing:NSBackingStoreBuffered
16 defer:NO])) {
17 [self setReleasedWhenClosed:NO];
18 [self setBackgroundColor:[NSColor grayColor]];
19 }
20
21 return self;
22 }
23
24 @end
OLDNEW
« 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