OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/chromeos/login/login_html_dialog.h" | 5 #include "chrome/browser/chromeos/login/login_html_dialog.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/frame/bubble_frame_view.h" | 7 #include "chrome/browser/chromeos/frame/bubble_frame_view.h" |
8 #include "chrome/browser/chromeos/frame/bubble_window.h" | 8 #include "chrome/browser/chromeos/frame/bubble_window.h" |
9 #include "chrome/browser/chromeos/login/helper.h" | 9 #include "chrome/browser/chromeos/login/helper.h" |
10 #include "chrome/browser/profile_manager.h" | 10 #include "chrome/browser/profiles/profile_manager.h" |
11 #include "chrome/browser/views/html_dialog_view.h" | 11 #include "chrome/browser/ui/views/html_dialog_view.h" |
12 #include "chrome/common/notification_service.h" | 12 #include "chrome/common/notification_service.h" |
13 #include "gfx/native_widget_types.h" | 13 #include "gfx/native_widget_types.h" |
14 #include "gfx/rect.h" | 14 #include "gfx/rect.h" |
15 #include "gfx/size.h" | 15 #include "gfx/size.h" |
16 #include "views/window/window.h" | 16 #include "views/window/window.h" |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 | 19 |
20 namespace { | 20 namespace { |
21 // Default width/height ratio of screen size. | 21 // Default width/height ratio of screen size. |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 bool* out_close_dialog) { | 117 bool* out_close_dialog) { |
118 if (out_close_dialog) | 118 if (out_close_dialog) |
119 *out_close_dialog = true; | 119 *out_close_dialog = true; |
120 } | 120 } |
121 | 121 |
122 void LoginHtmlDialog::GetDialogSize(gfx::Size* size) const { | 122 void LoginHtmlDialog::GetDialogSize(gfx::Size* size) const { |
123 size->SetSize(width_, height_); | 123 size->SetSize(width_, height_); |
124 } | 124 } |
125 | 125 |
126 } // namespace chromeos | 126 } // namespace chromeos |
OLD | NEW |