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

Side by Side Diff: chrome/browser/ui/cocoa/panels/panel_titlebar_view_cocoa.mm

Issue 107933006: Get rid of ui_cocoa_third_party_toolkits target from ui.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark review Created 7 years 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 | Annotate | Revision Log
OLDNEW
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/nsview_additions.h" 11 #import "chrome/browser/ui/cocoa/nsview_additions.h"
12 #import "chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h" 12 #import "chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h"
13 #import "chrome/browser/ui/panels/panel_constants.h" 13 #import "chrome/browser/ui/panels/panel_constants.h"
14 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
15 #include "grit/theme_resources.h" 15 #include "grit/theme_resources.h"
16 #import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h" 16 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMNSBezierPath+RoundRect .h"
17 #import "third_party/GTM/AppKit/GTMNSColor+Luminance.h" 17 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMNSColor+Luminance.h"
18 #include "ui/base/l10n/l10n_util_mac.h" 18 #include "ui/base/l10n/l10n_util_mac.h"
19 #import "ui/base/cocoa/hover_image_button.h" 19 #import "ui/base/cocoa/hover_image_button.h"
20 #include "ui/base/resource/resource_bundle.h" 20 #include "ui/base/resource/resource_bundle.h"
21 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" 21 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
22 #include "ui/gfx/image/image.h" 22 #include "ui/gfx/image/image.h"
23 23
24 // 'Glint' is a glowing light animation on the titlebar to attract user's 24 // 'Glint' is a glowing light animation on the titlebar to attract user's
25 // attention. Numbers are arbitrary, based on several tries. 25 // attention. Numbers are arbitrary, based on several tries.
26 const double kGlintAnimationDuration = 1.5; 26 const double kGlintAnimationDuration = 1.5;
27 const double kGlintRepeatIntervalSeconds = 1.0; 27 const double kGlintRepeatIntervalSeconds = 1.0;
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 - (NSButton*)minimizeButton { 567 - (NSButton*)minimizeButton {
568 return minimizeButton_; 568 return minimizeButton_;
569 } 569 }
570 570
571 - (NSButton*)restoreButton { 571 - (NSButton*)restoreButton {
572 return restoreButton_; 572 return restoreButton_;
573 } 573 }
574 574
575 @end 575 @end
576 576
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/one_click_signin_view_controller.mm ('k') | chrome/browser/ui/cocoa/presentation_mode_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698