| 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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 } | 595 } |
| 596 | 596 |
| 597 void BrowserView::FlashFrame(bool flash) { | 597 void BrowserView::FlashFrame(bool flash) { |
| 598 frame_->FlashFrame(flash); | 598 frame_->FlashFrame(flash); |
| 599 } | 599 } |
| 600 | 600 |
| 601 bool BrowserView::IsAlwaysOnTop() const { | 601 bool BrowserView::IsAlwaysOnTop() const { |
| 602 return false; | 602 return false; |
| 603 } | 603 } |
| 604 | 604 |
| 605 gfx::NativeWindow BrowserView::GetNativeWindow() { | 605 gfx::NativeWindow BrowserView::GetNativeWindow() const { |
| 606 return GetWidget()->GetTopLevelWidget()->GetNativeWindow(); | 606 return GetWidget()->GetTopLevelWidget()->GetNativeWindow(); |
| 607 } | 607 } |
| 608 | 608 |
| 609 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() { | 609 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() { |
| 610 return this; | 610 return this; |
| 611 } | 611 } |
| 612 | 612 |
| 613 StatusBubble* BrowserView::GetStatusBubble() { | 613 StatusBubble* BrowserView::GetStatusBubble() { |
| 614 return status_bubble_.get(); | 614 return status_bubble_.get(); |
| 615 } | 615 } |
| (...skipping 1817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2433 this, | 2433 this, |
| 2434 web_contents->GetRenderViewHost(), | 2434 web_contents->GetRenderViewHost(), |
| 2435 password_generator, | 2435 password_generator, |
| 2436 browser_.get(), | 2436 browser_.get(), |
| 2437 wrapper->password_manager()); | 2437 wrapper->password_manager()); |
| 2438 | 2438 |
| 2439 views::BubbleDelegateView::CreateBubble(bubble); | 2439 views::BubbleDelegateView::CreateBubble(bubble); |
| 2440 bubble->SetAlignment(views::BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE); | 2440 bubble->SetAlignment(views::BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE); |
| 2441 bubble->Show(); | 2441 bubble->Show(); |
| 2442 } | 2442 } |
| OLD | NEW |