| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/ui/cocoa/extensions/extension_install_view_controller.h" | 5 #import "chrome/browser/ui/cocoa/extensions/extension_install_view_controller.h" |
| 6 | 6 |
| 7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
| 8 #include "base/i18n/rtl.h" | 8 #include "base/i18n/rtl.h" |
| 9 #include "base/mac/bundle_locations.h" | 9 #include "base/mac/bundle_locations.h" |
| 10 #include "base/mac/mac_util.h" | 10 #include "base/mac/mac_util.h" |
| 11 #include "base/string_util.h" | 11 #include "base/strings/string_util.h" |
| 12 #include "base/strings/sys_string_conversions.h" | 12 #include "base/strings/sys_string_conversions.h" |
| 13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 14 #include "chrome/browser/extensions/bundle_installer.h" | 14 #include "chrome/browser/extensions/bundle_installer.h" |
| 15 #import "chrome/browser/ui/chrome_style.h" | 15 #import "chrome/browser/ui/chrome_style.h" |
| 16 #import "chrome/browser/ui/cocoa/hyperlink_button_cell.h" | 16 #import "chrome/browser/ui/cocoa/hyperlink_button_cell.h" |
| 17 #include "chrome/common/extensions/extension.h" | 17 #include "chrome/common/extensions/extension.h" |
| 18 #include "content/public/browser/page_navigator.h" | 18 #include "content/public/browser/page_navigator.h" |
| 19 #include "grit/generated_resources.h" | 19 #include "grit/generated_resources.h" |
| 20 #include "skia/ext/skia_utils_mac.h" | 20 #include "skia/ext/skia_utils_mac.h" |
| 21 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" | 21 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 return warnings; | 532 return warnings; |
| 533 } | 533 } |
| 534 | 534 |
| 535 - (void)updateViewFrame:(NSRect)frame { | 535 - (void)updateViewFrame:(NSRect)frame { |
| 536 NSWindow* window = [[self view] window]; | 536 NSWindow* window = [[self view] window]; |
| 537 [window setFrame:[window frameRectForContentRect:frame] display:YES]; | 537 [window setFrame:[window frameRectForContentRect:frame] display:YES]; |
| 538 [[self view] setFrame:frame]; | 538 [[self view] setFrame:frame]; |
| 539 } | 539 } |
| 540 | 540 |
| 541 @end | 541 @end |
| OLD | NEW |