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/chromeos/choose_mobile_network_dialog.h" | 5 #include "chrome/browser/chromeos/choose_mobile_network_dialog.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/frame/bubble_window.h" | 7 #include "chrome/browser/chromeos/frame/bubble_window.h" |
8 #include "chrome/browser/chromeos/login/user_manager.h" | 8 #include "chrome/browser/chromeos/login/user_manager.h" |
9 #include "chrome/browser/profiles/profile_manager.h" | 9 #include "chrome/browser/profiles/profile_manager.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
11 #include "chrome/browser/ui/browser_list.h" | 11 #include "chrome/browser/ui/browser_list.h" |
12 #include "chrome/browser/ui/views/html_dialog_view.h" | 12 #include "chrome/browser/ui/views/html_dialog_view.h" |
13 #include "chrome/common/url_constants.h" | 13 #include "chrome/common/url_constants.h" |
| 14 #include "ui/views/widget/widget.h" |
14 #include "views/view.h" | 15 #include "views/view.h" |
15 #include "views/widget/widget.h" | |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 // Default width/height of the dialog. | 19 // Default width/height of the dialog. |
20 const int kDefaultWidth = 350; | 20 const int kDefaultWidth = 350; |
21 const int kDefaultHeight = 225; | 21 const int kDefaultHeight = 225; |
22 | 22 |
23 } // namespace | 23 } // namespace |
24 | 24 |
25 namespace chromeos { | 25 namespace chromeos { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 return false; | 82 return false; |
83 } | 83 } |
84 | 84 |
85 bool ChooseMobileNetworkDialog::HandleContextMenu( | 85 bool ChooseMobileNetworkDialog::HandleContextMenu( |
86 const ContextMenuParams& params) { | 86 const ContextMenuParams& params) { |
87 // Disable context menu. | 87 // Disable context menu. |
88 return true; | 88 return true; |
89 } | 89 } |
90 | 90 |
91 } // namespace chromeos | 91 } // namespace chromeos |
OLD | NEW |