diff options
Diffstat (limited to 'chrome/browser/views/frame/browser_view_layout_manager.h')
-rw-r--r-- | chrome/browser/views/frame/browser_view_layout_manager.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/browser/views/frame/browser_view_layout_manager.h b/chrome/browser/views/frame/browser_view_layout_manager.h new file mode 100644 index 0000000..65ecfc6 --- /dev/null +++ b/chrome/browser/views/frame/browser_view_layout_manager.h @@ -0,0 +1,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_ |