| 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 #include "chrome/browser/ui/views/frame/browser_view.h" | 5 #include "chrome/browser/ui/views/frame/browser_view.h" |
| 6 | 6 |
| 7 #if defined(OS_LINUX) | 7 #if defined(OS_LINUX) |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 1801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1812 } | 1812 } |
| 1813 | 1813 |
| 1814 void BrowserView::ChildPreferredSizeChanged(View* child) { | 1814 void BrowserView::ChildPreferredSizeChanged(View* child) { |
| 1815 Layout(); | 1815 Layout(); |
| 1816 } | 1816 } |
| 1817 | 1817 |
| 1818 AccessibilityTypes::Role BrowserView::GetAccessibleRole() { | 1818 AccessibilityTypes::Role BrowserView::GetAccessibleRole() { |
| 1819 return AccessibilityTypes::ROLE_CLIENT; | 1819 return AccessibilityTypes::ROLE_CLIENT; |
| 1820 } | 1820 } |
| 1821 | 1821 |
| 1822 void BrowserView::InfoBarSizeChanged(bool is_animating) { | 1822 void BrowserView::InfoBarContainerSizeChanged(bool is_animating) { |
| 1823 SelectedTabToolbarSizeChanged(is_animating); | 1823 SelectedTabToolbarSizeChanged(is_animating); |
| 1824 } | 1824 } |
| 1825 | 1825 |
| 1826 bool BrowserView::SplitHandleMoved(views::SingleSplitView* view) { | 1826 bool BrowserView::SplitHandleMoved(views::SingleSplitView* view) { |
| 1827 for (int i = 0; i < view->GetChildViewCount(); ++i) | 1827 for (int i = 0; i < view->GetChildViewCount(); ++i) |
| 1828 view->GetChildViewAt(i)->InvalidateLayout(); | 1828 view->GetChildViewAt(i)->InvalidateLayout(); |
| 1829 SchedulePaint(); | 1829 SchedulePaint(); |
| 1830 Layout(); | 1830 Layout(); |
| 1831 return false; | 1831 return false; |
| 1832 } | 1832 } |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2553 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); | 2553 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); |
| 2554 | 2554 |
| 2555 return view; | 2555 return view; |
| 2556 } | 2556 } |
| 2557 #endif | 2557 #endif |
| 2558 | 2558 |
| 2559 // static | 2559 // static |
| 2560 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { | 2560 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { |
| 2561 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); | 2561 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); |
| 2562 } | 2562 } |
| OLD | NEW |