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

Side by Side Diff: ui/views_content_client/views_content_client_main_parts_mac.mm

Issue 1550483002: Switch to standard integer types in ui/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-ui-events
Patch Set: Created 4 years, 12 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/macros.h"
9 #include "base/path_service.h" 10 #include "base/path_service.h"
10 #include "content/public/browser/plugin_service.h" 11 #include "content/public/browser/plugin_service.h"
11 #include "content/public/common/content_paths.h" 12 #include "content/public/common/content_paths.h"
12 #include "content/shell/browser/shell_browser_context.h" 13 #include "content/shell/browser/shell_browser_context.h"
13 #include "ui/views_content_client/views_content_client.h" 14 #include "ui/views_content_client/views_content_client.h"
14 #include "ui/views_content_client/views_content_client_main_parts.h" 15 #include "ui/views_content_client/views_content_client_main_parts.h"
15 16
16 // A simple NSApplicationDelegate that provides a basic mainMenu and can 17 // A simple NSApplicationDelegate that provides a basic mainMenu and can
17 // activate a task when the application has finished loading. 18 // activate a task when the application has finished loading.
18 @interface ViewsContentClientAppController : NSObject<NSApplicationDelegate> { 19 @interface ViewsContentClientAppController : NSObject<NSApplicationDelegate> {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 NSString* quitTitle = [@"Quit " stringByAppendingString:appName]; 115 NSString* quitTitle = [@"Quit " stringByAppendingString:appName];
115 [appMenu addItemWithTitle:quitTitle 116 [appMenu addItemWithTitle:quitTitle
116 action:@selector(terminate:) 117 action:@selector(terminate:)
117 keyEquivalent:@"q"]; 118 keyEquivalent:@"q"];
118 [appMenuItem setSubmenu:appMenu]; 119 [appMenuItem setSubmenu:appMenu];
119 120
120 task_.Run(); 121 task_.Run();
121 } 122 }
122 123
123 @end 124 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698