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/constrained_window.h" | 5 #include "chrome/browser/ui/constrained_window.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 void ConstrainedWindow::FocusConstrainedWindow() { | 9 void ConstrainedWindow::FocusWebContentsModalDialog() { |
10 } | 10 } |
11 | 11 |
12 void ConstrainedWindow::PulseConstrainedWindow() { | 12 void ConstrainedWindow::PulseWebContentsModalDialog() { |
13 } | 13 } |
14 | 14 |
15 bool ConstrainedWindow::CanShowConstrainedWindow() { | 15 bool ConstrainedWindow::CanShowWebContentsModalDialog() { |
16 return true; | 16 return true; |
17 } | 17 } |
18 | 18 |
19 gfx::NativeWindow ConstrainedWindow::GetNativeWindow() { | 19 gfx::NativeWindow ConstrainedWindow::GetNativeWindow() { |
20 NOTREACHED(); | 20 NOTREACHED(); |
21 return NULL; | 21 return NULL; |
22 } | 22 } |
OLD | NEW |