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

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

Issue 150213: Add a ExtensionBrowserTest base class (Closed)
Patch Set: added timeouts fixed other tests Created 11 years, 5 months 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
« no previous file with comments | « chrome/browser/views/find_bar_win_browsertest.cc ('k') | chrome/chrome.gyp » ('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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // avatar icon. 115 // avatar icon.
116 int GetTabStripHeight() const; 116 int GetTabStripHeight() const;
117 117
118 // Returns the bounds of the TabStrip. Used by themed views to determine the 118 // Returns the bounds of the TabStrip. Used by themed views to determine the
119 // offset of IDR_THEME_TOOLBAR. 119 // offset of IDR_THEME_TOOLBAR.
120 gfx::Rect GetTabStripBounds() const; 120 gfx::Rect GetTabStripBounds() const;
121 121
122 // Accessor for the TabStrip. 122 // Accessor for the TabStrip.
123 TabStrip* tabstrip() const { return tabstrip_; } 123 TabStrip* tabstrip() const { return tabstrip_; }
124 124
125 // Accessor for the ExtensionShelf.
126 ExtensionShelf* extension_shelf() const { return extension_shelf_; }
127
125 // Returns true if various window components are visible. 128 // Returns true if various window components are visible.
126 bool IsToolbarVisible() const; 129 bool IsToolbarVisible() const;
127 bool IsTabStripVisible() const; 130 bool IsTabStripVisible() const;
128 131
129 // Returns true if the profile associated with this Browser window is 132 // Returns true if the profile associated with this Browser window is
130 // off the record. 133 // off the record.
131 bool IsOffTheRecord() const; 134 bool IsOffTheRecord() const;
132 135
133 // Returns true if the non-client view should render the Off-The-Record 136 // Returns true if the non-client view should render the Off-The-Record
134 // avatar icon if the window is off the record. 137 // avatar icon if the window is off the record.
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 // A bottom bar for showing extensions. 468 // A bottom bar for showing extensions.
466 ExtensionShelf* extension_shelf_; 469 ExtensionShelf* extension_shelf_;
467 470
468 typedef std::set<BrowserBubble*> BubbleSet; 471 typedef std::set<BrowserBubble*> BubbleSet;
469 BubbleSet browser_bubbles_; 472 BubbleSet browser_bubbles_;
470 473
471 DISALLOW_COPY_AND_ASSIGN(BrowserView); 474 DISALLOW_COPY_AND_ASSIGN(BrowserView);
472 }; 475 };
473 476
474 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 477 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/find_bar_win_browsertest.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698