OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "chrome/browser/views/frame/browser_view.h" | 5 #include "chrome/browser/views/frame/browser_view.h" |
6 | 6 |
7 #include "app/drag_drop_types.h" | 7 #include "app/drag_drop_types.h" |
8 #include "app/gfx/canvas.h" | 8 #include "app/gfx/canvas.h" |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/os_exchange_data.h" | 10 #include "app/os_exchange_data.h" |
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 void BrowserView::FlashFrame() { | 723 void BrowserView::FlashFrame() { |
724 #if defined(OS_WIN) | 724 #if defined(OS_WIN) |
725 FLASHWINFO fwi; | 725 FLASHWINFO fwi; |
726 fwi.cbSize = sizeof(fwi); | 726 fwi.cbSize = sizeof(fwi); |
727 fwi.hwnd = frame_->GetWindow()->GetNativeWindow(); | 727 fwi.hwnd = frame_->GetWindow()->GetNativeWindow(); |
728 fwi.dwFlags = FLASHW_ALL; | 728 fwi.dwFlags = FLASHW_ALL; |
729 fwi.uCount = 4; | 729 fwi.uCount = 4; |
730 fwi.dwTimeout = 0; | 730 fwi.dwTimeout = 0; |
731 FlashWindowEx(&fwi); | 731 FlashWindowEx(&fwi); |
732 #else | 732 #else |
733 NOTIMPLEMENTED(); | 733 // Doesn't matter for chrome os. |
734 #endif | 734 #endif |
735 } | 735 } |
736 | 736 |
737 gfx::NativeWindow BrowserView::GetNativeHandle() { | 737 gfx::NativeWindow BrowserView::GetNativeHandle() { |
738 return GetWidget()->GetWindow()->GetNativeWindow(); | 738 return GetWidget()->GetWindow()->GetNativeWindow(); |
739 } | 739 } |
740 | 740 |
741 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() { | 741 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() { |
742 return this; | 742 return this; |
743 } | 743 } |
(...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2163 | 2163 |
2164 // static | 2164 // static |
2165 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { | 2165 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { |
2166 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); | 2166 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); |
2167 } | 2167 } |
2168 | 2168 |
2169 // static | 2169 // static |
2170 void BrowserList::AllBrowsersClosed() { | 2170 void BrowserList::AllBrowsersClosed() { |
2171 views::Window::CloseAllSecondaryWindows(); | 2171 views::Window::CloseAllSecondaryWindows(); |
2172 } | 2172 } |
OLD | NEW |