| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 virtual void GetAccessiblePanes( | 405 virtual void GetAccessiblePanes( |
| 406 std::vector<views::AccessiblePaneView*>* panes); | 406 std::vector<views::AccessiblePaneView*>* panes); |
| 407 | 407 |
| 408 int last_focused_view_storage_id() const { | 408 int last_focused_view_storage_id() const { |
| 409 return last_focused_view_storage_id_; | 409 return last_focused_view_storage_id_; |
| 410 } | 410 } |
| 411 | 411 |
| 412 // Overridden from views::View: | 412 // Overridden from views::View: |
| 413 virtual std::string GetClassName() const OVERRIDE; | 413 virtual std::string GetClassName() const OVERRIDE; |
| 414 virtual void Layout() OVERRIDE; | 414 virtual void Layout() OVERRIDE; |
| 415 virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; | 415 virtual void PaintChildren(gfx::CanvasSkia* canvas) OVERRIDE; |
| 416 virtual void ViewHierarchyChanged(bool is_add, | 416 virtual void ViewHierarchyChanged(bool is_add, |
| 417 views::View* parent, | 417 views::View* parent, |
| 418 views::View* child) OVERRIDE; | 418 views::View* child) OVERRIDE; |
| 419 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; | 419 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; |
| 420 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 420 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 421 | 421 |
| 422 // Factory Method. | 422 // Factory Method. |
| 423 // Returns a new LayoutManager for this browser view. A subclass may | 423 // Returns a new LayoutManager for this browser view. A subclass may |
| 424 // override to implement different layout policy. | 424 // override to implement different layout policy. |
| 425 virtual views::LayoutManager* CreateLayoutManager() const; | 425 virtual views::LayoutManager* CreateLayoutManager() const; |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 bool force_location_bar_focus_; | 706 bool force_location_bar_focus_; |
| 707 | 707 |
| 708 PendingFullscreenRequest fullscreen_request_; | 708 PendingFullscreenRequest fullscreen_request_; |
| 709 | 709 |
| 710 BrowserWindowMoveObserver* move_observer_; | 710 BrowserWindowMoveObserver* move_observer_; |
| 711 | 711 |
| 712 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 712 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 713 }; | 713 }; |
| 714 | 714 |
| 715 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 715 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |