summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/frame/browser_view_layout_manager.h
blob: 65ecfc6e28886341c56cfaa06de7bac17ce76b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2010 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_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_MANAGER_H_
#define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_MANAGER_H_

#include "base/gfx/size.h"
#include "views/layout_manager.h"

// An extended LayoutManager to layout components in
// BrowserView.
class BrowserViewLayoutManager : public views::LayoutManager {
 public:
  // Returns the minimum size of the browser view.
  virtual gfx::Size GetMinimumSize() = 0;

  // Returns the bounding box for the find bar.
  virtual gfx::Rect GetFindBarBoundingBox() const = 0;
};

#endif  // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_MANAGER_H_