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/panels/panel_titlebar_view_cocoa.h" | 5 #import "chrome/browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/mac/scoped_nsautorelease_pool.h" | 10 #include "base/mac/scoped_nsautorelease_pool.h" |
11 #import "chrome/browser/ui/cocoa/hover_image_button.h" | 11 #import "chrome/browser/ui/cocoa/hover_image_button.h" |
12 #import "chrome/browser/ui/cocoa/nsview_additions.h" | 12 #import "chrome/browser/ui/cocoa/nsview_additions.h" |
13 #import "chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h" | 13 #import "chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h" |
14 #import "chrome/browser/ui/cocoa/tracking_area.h" | |
15 #import "chrome/browser/ui/panels/panel_constants.h" | 14 #import "chrome/browser/ui/panels/panel_constants.h" |
16 #include "grit/generated_resources.h" | 15 #include "grit/generated_resources.h" |
17 #include "grit/theme_resources.h" | 16 #include "grit/theme_resources.h" |
18 #import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h" | 17 #import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h" |
19 #import "third_party/GTM/AppKit/GTMNSColor+Luminance.h" | 18 #import "third_party/GTM/AppKit/GTMNSColor+Luminance.h" |
20 #include "ui/base/l10n/l10n_util_mac.h" | 19 #include "ui/base/l10n/l10n_util_mac.h" |
21 #include "ui/base/resource/resource_bundle.h" | 20 #include "ui/base/resource/resource_bundle.h" |
22 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" | 21 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" |
23 #include "ui/gfx/image/image.h" | 22 #include "ui/gfx/image/image.h" |
24 | 23 |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 - (NSButton*)minimizeButton { | 565 - (NSButton*)minimizeButton { |
567 return minimizeButton_; | 566 return minimizeButton_; |
568 } | 567 } |
569 | 568 |
570 - (NSButton*)restoreButton { | 569 - (NSButton*)restoreButton { |
571 return restoreButton_; | 570 return restoreButton_; |
572 } | 571 } |
573 | 572 |
574 @end | 573 @end |
575 | 574 |
OLD | NEW |