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 "views/view.h" |
| 15 #include "views/widget/widget.h" |
14 | 16 |
15 namespace { | 17 namespace { |
16 | 18 |
17 // Default width/height of the dialog. | 19 // Default width/height of the dialog. |
18 const int kDefaultWidth = 350; | 20 const int kDefaultWidth = 350; |
19 const int kDefaultHeight = 225; | 21 const int kDefaultHeight = 225; |
20 | 22 |
21 } // namespace | 23 } // namespace |
22 | 24 |
23 namespace chromeos { | 25 namespace chromeos { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 return false; | 82 return false; |
81 } | 83 } |
82 | 84 |
83 bool ChooseMobileNetworkDialog::HandleContextMenu( | 85 bool ChooseMobileNetworkDialog::HandleContextMenu( |
84 const ContextMenuParams& params) { | 86 const ContextMenuParams& params) { |
85 // Disable context menu. | 87 // Disable context menu. |
86 return true; | 88 return true; |
87 } | 89 } |
88 | 90 |
89 } // namespace chromeos | 91 } // namespace chromeos |
OLD | NEW |