Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package


// 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.
// A simple custom NSView for the bookmark bar used to prevent clicking and
// dragging from moving the browser window.


#import <Cocoa/Cocoa.h>

#import "chrome/browser/cocoa/background_gradient_view.h"

@class BookmarkBarController;

@interface BookmarkBarView : BackgroundGradientView {
  BOOL dropIndicatorShown_;
  CGFloat dropIndicatorPosition_;  // x position

  IBOutlet BookmarkBarController* controller_;
  IBOutlet NSTextField* noItemTextfield_;
  IBOutlet NSButton* importBookmarksButton_;
  NSView* noItemContainer_;
- (NSTextField*)noItemTextfield;
- (NSButton*)importBookmarksButton;
- (BookmarkBarController*)controller;

@property (nonatomic, assign) IBOutlet NSView* noItemContainer;

@interface BookmarkBarView()  // TestingOrInternalAPI
@property (nonatomic, readonly) BOOL dropIndicatorShown;
@property (nonatomic, readonly) CGFloat dropIndicatorPosition;
- (void)setController:(id)controller;


Generated by  Doxygen 1.6.0   Back to index