| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/sim_dialog_delegate.h" | 5 #include "chrome/browser/chromeos/sim_dialog_delegate.h" |
| 6 | 6 |
| 7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
| 8 #include "chrome/browser/profiles/profile_manager.h" | 8 #include "chrome/browser/profiles/profile_manager.h" |
| 9 #include "chrome/browser/ui/browser_dialogs.h" | 9 #include "chrome/browser/ui/browser_dialogs.h" |
| 10 #include "chrome/common/url_constants.h" | 10 #include "chrome/common/url_constants.h" |
| 11 #include "ui/gfx/size.h" | 11 #include "ui/gfx/geometry/size.h" |
| 12 | 12 |
| 13 using content::WebContents; | 13 using content::WebContents; |
| 14 using content::WebUIMessageHandler; | 14 using content::WebUIMessageHandler; |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| 18 // Default width/height of the dialog. | 18 // Default width/height of the dialog. |
| 19 const int kDefaultWidth = 350; | 19 const int kDefaultWidth = 350; |
| 20 const int kDefaultHeight = 225; | 20 const int kDefaultHeight = 225; |
| 21 | 21 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 return false; | 109 return false; |
| 110 } | 110 } |
| 111 | 111 |
| 112 bool SimDialogDelegate::HandleContextMenu( | 112 bool SimDialogDelegate::HandleContextMenu( |
| 113 const content::ContextMenuParams& params) { | 113 const content::ContextMenuParams& params) { |
| 114 // Disable context menu. | 114 // Disable context menu. |
| 115 return true; | 115 return true; |
| 116 } | 116 } |
| 117 | 117 |
| 118 } // namespace chromeos | 118 } // namespace chromeos |
| OLD | NEW |