| 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/set_time_dialog.h" | 5 #include "chrome/browser/chromeos/set_time_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 "content/public/browser/user_metrics.h" | 10 #include "content/public/browser/user_metrics.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 chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| 20 const int kDefaultWidth = 490; | 20 const int kDefaultWidth = 490; |
| 21 const int kDefaultHeight = 235; | 21 const int kDefaultHeight = 235; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 return false; | 74 return false; |
| 75 } | 75 } |
| 76 | 76 |
| 77 bool SetTimeDialog::HandleContextMenu( | 77 bool SetTimeDialog::HandleContextMenu( |
| 78 const content::ContextMenuParams& params) { | 78 const content::ContextMenuParams& params) { |
| 79 // Disable context menu. | 79 // Disable context menu. |
| 80 return true; | 80 return true; |
| 81 } | 81 } |
| 82 | 82 |
| 83 } // namespace chromeos | 83 } // namespace chromeos |
| OLD | NEW |