summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/toolbar_compressable.h
blob: ddd21c47c239222401c6bb9438d32a211838344e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_COCOA_TOOLBAR_COMPRESSABLE_H_
#define CHROME_BROWSER_COCOA_TOOLBAR_COMPRESSABLE_H_

#include "chrome/browser/tabs/tab_strip_model.h"

#import <Cocoa/Cocoa.h>

// Defines a protocol that allows one view to tell another view that it should
// remove pixels from the bottom of the view. Only ToolbarController implements
// this, but it's a protocol for unit testing reasons.
@protocol ToolbarCompressable
- (void)setShouldBeCompressed:(BOOL)compressed;
@end

#endif  // CHROME_BROWSER_COCOA_TOOLBAR_COMPRESSABLE_H_