OLD | NEW |
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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 virtual void UserChangedTheme(); | 264 virtual void UserChangedTheme(); |
265 virtual int GetExtraRenderViewHeight() const; | 265 virtual int GetExtraRenderViewHeight() const; |
266 virtual void TabContentsFocused(TabContents* source); | 266 virtual void TabContentsFocused(TabContents* source); |
267 virtual void ShowPageInfo(Profile* profile, | 267 virtual void ShowPageInfo(Profile* profile, |
268 const GURL& url, | 268 const GURL& url, |
269 const NavigationEntry::SSLStatus& ssl, | 269 const NavigationEntry::SSLStatus& ssl, |
270 bool show_history); | 270 bool show_history); |
271 virtual void ShowAppMenu(); | 271 virtual void ShowAppMenu(); |
272 virtual void ShowPageMenu(); | 272 virtual void ShowPageMenu(); |
273 virtual int GetCommandId(const NativeWebKeyboardEvent& event); | 273 virtual int GetCommandId(const NativeWebKeyboardEvent& event); |
| 274 #if defined(TOOLKIT_VIEWS) |
| 275 virtual void ToggleCompactNavigationBar(); |
| 276 #endif |
274 | 277 |
275 // Overridden from BrowserWindowTesting: | 278 // Overridden from BrowserWindowTesting: |
276 virtual BookmarkBarView* GetBookmarkBarView() const; | 279 virtual BookmarkBarView* GetBookmarkBarView() const; |
277 virtual LocationBarView* GetLocationBarView() const; | 280 virtual LocationBarView* GetLocationBarView() const; |
278 virtual views::View* GetTabContentsContainerView() const; | 281 virtual views::View* GetTabContentsContainerView() const; |
279 virtual ToolbarView* GetToolbarView() const; | 282 virtual ToolbarView* GetToolbarView() const; |
280 | 283 |
281 // Overridden from NotificationObserver: | 284 // Overridden from NotificationObserver: |
282 virtual void Observe(NotificationType type, | 285 virtual void Observe(NotificationType type, |
283 const NotificationSource& source, | 286 const NotificationSource& source, |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 | 527 |
525 // The accessible name of this view. | 528 // The accessible name of this view. |
526 std::wstring accessible_name_; | 529 std::wstring accessible_name_; |
527 | 530 |
528 scoped_ptr<BrowserExtender> browser_extender_; | 531 scoped_ptr<BrowserExtender> browser_extender_; |
529 | 532 |
530 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 533 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
531 }; | 534 }; |
532 | 535 |
533 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 536 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |