| 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" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 html_view->GetWidget()->Show(); | 41 html_view->GetWidget()->Show(); |
| 42 } | 42 } |
| 43 | 43 |
| 44 ChooseMobileNetworkDialog::ChooseMobileNetworkDialog() { | 44 ChooseMobileNetworkDialog::ChooseMobileNetworkDialog() { |
| 45 } | 45 } |
| 46 | 46 |
| 47 bool ChooseMobileNetworkDialog::IsDialogModal() const { | 47 bool ChooseMobileNetworkDialog::IsDialogModal() const { |
| 48 return true; | 48 return true; |
| 49 } | 49 } |
| 50 | 50 |
| 51 std::wstring ChooseMobileNetworkDialog::GetDialogTitle() const { | 51 string16 ChooseMobileNetworkDialog::GetDialogTitle() const { |
| 52 return std::wstring(); | 52 return string16(); |
| 53 } | 53 } |
| 54 | 54 |
| 55 GURL ChooseMobileNetworkDialog::GetDialogContentURL() const { | 55 GURL ChooseMobileNetworkDialog::GetDialogContentURL() const { |
| 56 return GURL(chrome::kChromeUIChooseMobileNetworkURL); | 56 return GURL(chrome::kChromeUIChooseMobileNetworkURL); |
| 57 } | 57 } |
| 58 | 58 |
| 59 void ChooseMobileNetworkDialog::GetWebUIMessageHandlers( | 59 void ChooseMobileNetworkDialog::GetWebUIMessageHandlers( |
| 60 std::vector<WebUIMessageHandler*>* handlers) const { | 60 std::vector<WebUIMessageHandler*>* handlers) const { |
| 61 } | 61 } |
| 62 | 62 |
| (...skipping 19 matching lines...) Expand all 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 |