OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/previewable_contents_controller.h" | 5 #import "chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/mac/mac_util.h" | 8 #include "base/mac/mac_util.h" |
9 #include "chrome/browser/tab_contents/tab_contents.h" | 9 #include "chrome/browser/tab_contents/tab_contents.h" |
10 | 10 |
11 @implementation PreviewableContentsController | 11 @implementation PreviewableContentsController |
12 | 12 |
13 @synthesize activeContainer = activeContainer_; | 13 @synthesize activeContainer = activeContainer_; |
14 | 14 |
15 - (id)init { | 15 - (id)init { |
(...skipping 27 matching lines...) Expand all Loading... |
43 [activeContainer_ setHidden:NO]; | 43 [activeContainer_ setHidden:NO]; |
44 | 44 |
45 previewContents_ = nil; | 45 previewContents_ = nil; |
46 } | 46 } |
47 | 47 |
48 - (BOOL)isShowingPreview { | 48 - (BOOL)isShowingPreview { |
49 return previewContents_ != nil; | 49 return previewContents_ != nil; |
50 } | 50 } |
51 | 51 |
52 @end | 52 @end |
OLD | NEW |