| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/ui/choose_mobile_network_dialog.h" | 5 #include "chrome/browser/chromeos/ui/choose_mobile_network_dialog.h" |
| 6 | 6 |
| 7 #include "chrome/browser/profiles/profile_manager.h" | 7 #include "chrome/browser/profiles/profile_manager.h" |
| 8 #include "chrome/browser/ui/browser_dialogs.h" | 8 #include "chrome/browser/ui/browser_dialogs.h" |
| 9 #include "chrome/common/url_constants.h" | 9 #include "chrome/common/url_constants.h" |
| 10 #include "ui/gfx/size.h" | 10 #include "ui/gfx/geometry/size.h" |
| 11 | 11 |
| 12 using content::WebContents; | 12 using content::WebContents; |
| 13 using content::WebUIMessageHandler; | 13 using content::WebUIMessageHandler; |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 // Default width/height of the dialog. | 17 // Default width/height of the dialog. |
| 18 const int kDefaultWidth = 350; | 18 const int kDefaultWidth = 350; |
| 19 const int kDefaultHeight = 225; | 19 const int kDefaultHeight = 225; |
| 20 | 20 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 return false; | 70 return false; |
| 71 } | 71 } |
| 72 | 72 |
| 73 bool ChooseMobileNetworkDialog::HandleContextMenu( | 73 bool ChooseMobileNetworkDialog::HandleContextMenu( |
| 74 const content::ContextMenuParams& params) { | 74 const content::ContextMenuParams& params) { |
| 75 // Disable context menu. | 75 // Disable context menu. |
| 76 return true; | 76 return true; |
| 77 } | 77 } |
| 78 | 78 |
| 79 } // namespace chromeos | 79 } // namespace chromeos |
| OLD | NEW |