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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/tab_view.h

Issue 6362007: [Mac] Organize all tab/tab strip files into chrome/browser/ui/cocoa/tabs/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_UI_COCOA_TAB_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_TAB_VIEW_H_ 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 #include <ApplicationServices/ApplicationServices.h> 10 #include <ApplicationServices/ApplicationServices.h>
11 11
12 #include <map> 12 #include <map>
13 13
14 #include "base/scoped_nsobject.h" 14 #include "base/scoped_nsobject.h"
15 #import "chrome/browser/ui/cocoa/background_gradient_view.h" 15 #import "chrome/browser/ui/cocoa/background_gradient_view.h"
16 #import "chrome/browser/ui/cocoa/hover_close_button.h" 16 #import "chrome/browser/ui/cocoa/hover_close_button.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 @end 124 @end
125 125
126 // The TabController |controller_| is not the only owner of this view. If the 126 // The TabController |controller_| is not the only owner of this view. If the
127 // controller is released before this view, then we could be hanging onto a 127 // controller is released before this view, then we could be hanging onto a
128 // garbage pointer. To prevent this, the TabController uses this interface to 128 // garbage pointer. To prevent this, the TabController uses this interface to
129 // clear the |controller_| pointer when it is dying. 129 // clear the |controller_| pointer when it is dying.
130 @interface TabView (TabControllerInterface) 130 @interface TabView (TabControllerInterface)
131 - (void)setController:(TabController*)controller; 131 - (void)setController:(TabController*)controller;
132 @end 132 @end
133 133
134 #endif // CHROME_BROWSER_UI_COCOA_TAB_VIEW_H_ 134 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698