OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 virtual bool GetSavedMaximizedState(bool* maximized) const; | 388 virtual bool GetSavedMaximizedState(bool* maximized) const; |
389 virtual views::View* GetContentsView(); | 389 virtual views::View* GetContentsView(); |
390 virtual views::ClientView* CreateClientView(views::Window* window); | 390 virtual views::ClientView* CreateClientView(views::Window* window); |
391 | 391 |
392 // Overridden from views::ClientView: | 392 // Overridden from views::ClientView: |
393 virtual bool CanClose() const; | 393 virtual bool CanClose() const; |
394 virtual int NonClientHitTest(const gfx::Point& point); | 394 virtual int NonClientHitTest(const gfx::Point& point); |
395 virtual gfx::Size GetMinimumSize(); | 395 virtual gfx::Size GetMinimumSize(); |
396 | 396 |
397 // InfoBarContainer::Delegate overrides | 397 // InfoBarContainer::Delegate overrides |
398 virtual void InfoBarSizeChanged(bool is_animating); | 398 virtual void InfoBarContainerSizeChanged(bool is_animating); |
399 | 399 |
400 // views::SingleSplitView::Observer overrides: | 400 // views::SingleSplitView::Observer overrides: |
401 virtual bool SplitHandleMoved(views::SingleSplitView* view); | 401 virtual bool SplitHandleMoved(views::SingleSplitView* view); |
402 | 402 |
403 protected: | 403 protected: |
404 // Appends to |toolbars| a pointer to each AccessiblePaneView that | 404 // Appends to |toolbars| a pointer to each AccessiblePaneView that |
405 // can be traversed using F6, in the order they should be traversed. | 405 // can be traversed using F6, in the order they should be traversed. |
406 // Abstracted here so that it can be extended for Chrome OS. | 406 // Abstracted here so that it can be extended for Chrome OS. |
407 virtual void GetAccessiblePanes( | 407 virtual void GetAccessiblePanes( |
408 std::vector<AccessiblePaneView*>* panes); | 408 std::vector<AccessiblePaneView*>* panes); |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 671 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
672 | 672 |
673 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; | 673 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; |
674 | 674 |
675 NotificationRegistrar registrar_; | 675 NotificationRegistrar registrar_; |
676 | 676 |
677 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 677 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
678 }; | 678 }; |
679 | 679 |
680 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 680 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |