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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller.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
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_controller.mm ('k') | chrome/browser/ui/cocoa/ui_localizer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/tabs/tab_strip_controller.h" 5 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h"
6 6
7 #import <QuartzCore/QuartzCore.h> 7 #import <QuartzCore/QuartzCore.h>
8 8
9 #include <cmath> 9 #include <cmath>
10 #include <limits> 10 #include <limits>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include "chrome/common/pref_names.h" 55 #include "chrome/common/pref_names.h"
56 #include "components/web_modal/web_contents_modal_dialog_manager.h" 56 #include "components/web_modal/web_contents_modal_dialog_manager.h"
57 #include "content/public/browser/navigation_controller.h" 57 #include "content/public/browser/navigation_controller.h"
58 #include "content/public/browser/user_metrics.h" 58 #include "content/public/browser/user_metrics.h"
59 #include "content/public/browser/web_contents.h" 59 #include "content/public/browser/web_contents.h"
60 #include "content/public/browser/web_contents_view.h" 60 #include "content/public/browser/web_contents_view.h"
61 #include "grit/generated_resources.h" 61 #include "grit/generated_resources.h"
62 #include "grit/theme_resources.h" 62 #include "grit/theme_resources.h"
63 #include "grit/ui_resources.h" 63 #include "grit/ui_resources.h"
64 #include "skia/ext/skia_utils_mac.h" 64 #include "skia/ext/skia_utils_mac.h"
65 #import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h" 65 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMNSAnimation+Duration.h "
66 #include "ui/base/cocoa/animation_utils.h" 66 #include "ui/base/cocoa/animation_utils.h"
67 #import "ui/base/cocoa/tracking_area.h" 67 #import "ui/base/cocoa/tracking_area.h"
68 #include "ui/base/l10n/l10n_util.h" 68 #include "ui/base/l10n/l10n_util.h"
69 #include "ui/base/models/list_selection_model.h" 69 #include "ui/base/models/list_selection_model.h"
70 #include "ui/base/resource/resource_bundle.h" 70 #include "ui/base/resource/resource_bundle.h"
71 #include "ui/base/theme_provider.h" 71 #include "ui/base/theme_provider.h"
72 #include "ui/gfx/image/image.h" 72 #include "ui/gfx/image/image.h"
73 73
74 using content::OpenURLParams; 74 using content::OpenURLParams;
75 using content::Referrer; 75 using content::Referrer;
(...skipping 2141 matching lines...) Expand 10 before | Expand all | Expand 10 after
2217 NSView* GetSheetParentViewForWebContents(WebContents* web_contents) { 2217 NSView* GetSheetParentViewForWebContents(WebContents* web_contents) {
2218 // View hierarchy of the contents view: 2218 // View hierarchy of the contents view:
2219 // NSView -- switchView, same for all tabs 2219 // NSView -- switchView, same for all tabs
2220 // +- NSView -- TabContentsController's view 2220 // +- NSView -- TabContentsController's view
2221 // +- TabContentsViewCocoa 2221 // +- TabContentsViewCocoa
2222 // 2222 //
2223 // Changing it? Do not forget to modify 2223 // Changing it? Do not forget to modify
2224 // -[TabStripController swapInTabAtIndex:] too. 2224 // -[TabStripController swapInTabAtIndex:] too.
2225 return [web_contents->GetView()->GetNativeView() superview]; 2225 return [web_contents->GetView()->GetNativeView() superview];
2226 } 2226 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_controller.mm ('k') | chrome/browser/ui/cocoa/ui_localizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698