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

Side by Side Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.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/constrained_window/constrained_window_alert.h" 5 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.h"
6 6
7 #import "base/logging.h" 7 #import "base/logging.h"
8 #import "chrome/browser/ui/chrome_style.h" 8 #import "chrome/browser/ui/chrome_style.h"
9 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_button.h" 9 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_button.h"
10 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_control_u tils.h" 10 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_control_u tils.h"
11 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_wi ndow.h" 11 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_wi ndow.h"
12 #import "chrome/browser/ui/cocoa/hover_close_button.h" 12 #import "chrome/browser/ui/cocoa/hover_close_button.h"
13 #include "skia/ext/skia_utils_mac.h" 13 #include "skia/ext/skia_utils_mac.h"
14 #include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" 14 #include "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutT weaker.h"
15 #include "ui/base/cocoa/controls/hyperlink_button_cell.h" 15 #include "ui/base/cocoa/controls/hyperlink_button_cell.h"
16 #include "ui/base/cocoa/window_size_constants.h" 16 #include "ui/base/cocoa/window_size_constants.h"
17 17
18 namespace { 18 namespace {
19 19
20 const CGFloat kWindowMinWidth = 500; 20 const CGFloat kWindowMinWidth = 500;
21 const CGFloat kButtonGap = 6; 21 const CGFloat kButtonGap = 6;
22 22
23 } // namespace 23 } // namespace
24 24
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 frame.origin.y = windowHeight - 270 frame.origin.y = windowHeight -
271 chrome_style::kCloseButtonPadding - NSHeight(frame); 271 chrome_style::kCloseButtonPadding - NSHeight(frame);
272 [closeButton_ setFrame:frame]; 272 [closeButton_ setFrame:frame];
273 } 273 }
274 274
275 - (NSButton*)linkView { 275 - (NSButton*)linkView {
276 return linkView_; 276 return linkView_;
277 } 277 }
278 278
279 @end 279 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_bubble_cocoa.mm ('k') | chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698