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

Unified Diff: chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm

Issue 494033002: Move AppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unneeded include in chrome_shell_delegate.cc Created 6 years, 4 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
Index: chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm b/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm
index 5c90d0ce8e1297996bf93cea411d0641270430c5..691de9aaefe05eb44cedc4c42d5447bd8069d532 100644
--- a/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm
@@ -42,7 +42,7 @@
// windowWillUseStandardFrame, as the window would not restore back to the
// desired size.
-using apps::AppWindow;
+using extensions::AppWindow;
@interface NSWindow (NSPrivateApis)
- (void)setBottomCornerRounded:(BOOL)rounded;
@@ -78,7 +78,7 @@ NSInteger AlwaysOnTopWindowLevel() {
}
NSRect GfxToCocoaBounds(gfx::Rect bounds) {
- typedef apps::AppWindow::BoundsSpecification BoundsSpecification;
+ typedef AppWindow::BoundsSpecification BoundsSpecification;
NSRect main_screen_rect = [[[NSScreen screens] objectAtIndex:0] frame];
@@ -205,7 +205,7 @@ std::vector<gfx::Rect> CalculateNonDraggableRegions(
- (CGFloat)roundedCornerRadius;
@end
-// TODO(jamescook): Should these be AppNSWindow to match apps::AppWindow?
+// TODO(jamescook): Should these be AppNSWindow to match AppWindow?
// http://crbug.com/344082
@interface ShellNSWindow : ChromeEventProcessingWindow
@end

Powered by Google App Engine
This is Rietveld 408576698