| 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 #include "chrome/browser/ui/views/frame/browser_view.h" | 5 #include "chrome/browser/ui/views/frame/browser_view.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 } | 657 } |
| 658 | 658 |
| 659 void BrowserView::FlashFrame(bool flash) { | 659 void BrowserView::FlashFrame(bool flash) { |
| 660 frame_->FlashFrame(flash); | 660 frame_->FlashFrame(flash); |
| 661 } | 661 } |
| 662 | 662 |
| 663 bool BrowserView::IsAlwaysOnTop() const { | 663 bool BrowserView::IsAlwaysOnTop() const { |
| 664 return false; | 664 return false; |
| 665 } | 665 } |
| 666 | 666 |
| 667 gfx::Rect BrowserView::ContentBoundsForWindowBounds( |
| 668 const gfx::Rect& window_bounds) const { |
| 669 NOTIMPLEMENTED() |
| 670 return gfx::Rect(); |
| 671 } |
| 672 |
| 673 gfx::Rect BrowserView::WindowBoundsForContentBounds( |
| 674 const gfx::Rect& content_bounds) const { |
| 675 NOTIMPLEMENTED() |
| 676 return gfx::Rect(); |
| 677 } |
| 678 |
| 667 gfx::NativeWindow BrowserView::GetNativeWindow() { | 679 gfx::NativeWindow BrowserView::GetNativeWindow() { |
| 668 return GetWidget()->GetTopLevelWidget()->GetNativeWindow(); | 680 return GetWidget()->GetTopLevelWidget()->GetNativeWindow(); |
| 669 } | 681 } |
| 670 | 682 |
| 671 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() { | 683 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() { |
| 672 return this; | 684 return this; |
| 673 } | 685 } |
| 674 | 686 |
| 675 StatusBubble* BrowserView::GetStatusBubble() { | 687 StatusBubble* BrowserView::GetStatusBubble() { |
| 676 return status_bubble_.get(); | 688 return status_bubble_.get(); |
| (...skipping 1911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2588 modal_browser->window()->Activate(); | 2600 modal_browser->window()->Activate(); |
| 2589 } | 2601 } |
| 2590 | 2602 |
| 2591 AppModalDialogQueue::GetInstance()->ActivateModalDialog(); | 2603 AppModalDialogQueue::GetInstance()->ActivateModalDialog(); |
| 2592 } | 2604 } |
| 2593 | 2605 |
| 2594 void BrowserView::MaybeStackBookmarkBarAtTop() { | 2606 void BrowserView::MaybeStackBookmarkBarAtTop() { |
| 2595 if (bookmark_bar_view_.get()) | 2607 if (bookmark_bar_view_.get()) |
| 2596 bookmark_bar_view_->MaybeStackAtTop(); | 2608 bookmark_bar_view_->MaybeStackAtTop(); |
| 2597 } | 2609 } |
| OLD | NEW |