Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(739)

Side by Side Diff: chrome/browser/views/frame/browser_view.h

Issue 4405001: Remove an used function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // Returns the apparent bounds of the toolbar, in BrowserView coordinates. 121 // Returns the apparent bounds of the toolbar, in BrowserView coordinates.
122 // These differ from |toolbar_.bounds()| in that they match where the toolbar 122 // These differ from |toolbar_.bounds()| in that they match where the toolbar
123 // background image is drawn -- slightly outside the "true" bounds 123 // background image is drawn -- slightly outside the "true" bounds
124 // horizontally, and, when using vertical tabs, behind the tab column. 124 // horizontally, and, when using vertical tabs, behind the tab column.
125 gfx::Rect GetToolbarBounds() const; 125 gfx::Rect GetToolbarBounds() const;
126 126
127 // Returns the bounds of the content area, in the coordinates of the 127 // Returns the bounds of the content area, in the coordinates of the
128 // BrowserView's parent. 128 // BrowserView's parent.
129 gfx::Rect GetClientAreaBounds() const; 129 gfx::Rect GetClientAreaBounds() const;
130 130
131 // Returns true if the Find Bar should be rendered such that it appears to
132 // blend with the Bookmarks Bar. False if it should appear to blend with the
133 // main Toolbar. The return value will vary depending on whether or not the
134 // Bookmark Bar is always shown.
135 bool ShouldFindBarBlendWithBookmarksBar() const;
136
137 // Returns the constraining bounding box that should be used to lay out the 131 // Returns the constraining bounding box that should be used to lay out the
138 // FindBar within. This is _not_ the size of the find bar, just the bounding 132 // FindBar within. This is _not_ the size of the find bar, just the bounding
139 // box it should be laid out within. The coordinate system of the returned 133 // box it should be laid out within. The coordinate system of the returned
140 // rect is in the coordinate system of the frame, since the FindBar is a child 134 // rect is in the coordinate system of the frame, since the FindBar is a child
141 // window. 135 // window.
142 gfx::Rect GetFindBarBoundingBox() const; 136 gfx::Rect GetFindBarBoundingBox() const;
143 137
144 // Returns the preferred height of the TabStrip. Used to position the OTR 138 // Returns the preferred height of the TabStrip. Used to position the OTR
145 // avatar icon. 139 // avatar icon.
146 int GetTabStripHeight() const; 140 int GetTabStripHeight() const;
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; 645 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
652 646
653 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; 647 scoped_ptr<AccessibleViewHelper> accessible_view_helper_;
654 648
655 NotificationRegistrar registrar_; 649 NotificationRegistrar registrar_;
656 650
657 DISALLOW_COPY_AND_ASSIGN(BrowserView); 651 DISALLOW_COPY_AND_ASSIGN(BrowserView);
658 }; 652 };
659 653
660 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 654 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698