| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 #include "ui/views/widget/widget.h" | 101 #include "ui/views/widget/widget.h" |
| 102 #include "ui/views/window/dialog_delegate.h" | 102 #include "ui/views/window/dialog_delegate.h" |
| 103 | 103 |
| 104 #if defined(USE_ASH) | 104 #if defined(USE_ASH) |
| 105 #include "ash/launcher/launcher.h" | 105 #include "ash/launcher/launcher.h" |
| 106 #include "ash/launcher/launcher_model.h" | 106 #include "ash/launcher/launcher_model.h" |
| 107 #include "ash/shell.h" | 107 #include "ash/shell.h" |
| 108 #include "chrome/browser/ui/views/ash/chrome_shell_delegate.h" | 108 #include "chrome/browser/ui/views/ash/chrome_shell_delegate.h" |
| 109 #include "chrome/browser/ui/views/ash/launcher/launcher_updater.h" | 109 #include "chrome/browser/ui/views/ash/launcher/launcher_updater.h" |
| 110 #include "chrome/browser/ui/views/ash/window_positioner.h" | 110 #include "chrome/browser/ui/views/ash/window_positioner.h" |
| 111 #elif defined(OS_WIN) | 111 #elif defined(OS_WIN) && !defined(USE_AURA) |
| 112 #include "base/win/metro.h" | 112 #include "base/win/metro.h" |
| 113 #include "chrome/browser/aeropeek_manager.h" | 113 #include "chrome/browser/aeropeek_manager.h" |
| 114 #include "chrome/browser/jumplist_win.h" | 114 #include "chrome/browser/jumplist_win.h" |
| 115 #include "ui/views/widget/native_widget_win.h" | 115 #include "ui/views/widget/native_widget_win.h" |
| 116 #endif | 116 #endif |
| 117 | 117 |
| 118 #if defined(USE_AURA) | 118 #if defined(USE_AURA) |
| 119 #include "chrome/browser/ui/views/accelerator_table.h" | 119 #include "chrome/browser/ui/views/accelerator_table.h" |
| 120 #include "ui/gfx/screen.h" | 120 #include "ui/gfx/screen.h" |
| 121 #endif | 121 #endif |
| (...skipping 2350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2472 return; | 2472 return; |
| 2473 | 2473 |
| 2474 PasswordGenerationBubbleView* bubble = | 2474 PasswordGenerationBubbleView* bubble = |
| 2475 new PasswordGenerationBubbleView(bounds, | 2475 new PasswordGenerationBubbleView(bounds, |
| 2476 this, | 2476 this, |
| 2477 web_contents->GetRenderViewHost()); | 2477 web_contents->GetRenderViewHost()); |
| 2478 views::BubbleDelegateView::CreateBubble(bubble); | 2478 views::BubbleDelegateView::CreateBubble(bubble); |
| 2479 bubble->SetAlignment(views::BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE); | 2479 bubble->SetAlignment(views::BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE); |
| 2480 bubble->Show(); | 2480 bubble->Show(); |
| 2481 } | 2481 } |
| OLD | NEW |