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