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 "grit/generated_resources.h" | |
12 #include "ui/base/l10n/l10n_util.h" | |
13 #include "ui/gfx/size.h" | 11 #include "ui/gfx/size.h" |
14 | 12 |
15 using content::WebContents; | 13 using content::WebContents; |
16 using content::WebUIMessageHandler; | 14 using content::WebUIMessageHandler; |
17 | 15 |
18 namespace chromeos { | 16 namespace chromeos { |
19 | 17 |
20 namespace { | 18 namespace { |
21 | 19 |
22 const int kDefaultWidth = 490; | 20 const int kDefaultWidth = 490; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 return false; | 74 return false; |
77 } | 75 } |
78 | 76 |
79 bool SetTimeDialog::HandleContextMenu( | 77 bool SetTimeDialog::HandleContextMenu( |
80 const content::ContextMenuParams& params) { | 78 const content::ContextMenuParams& params) { |
81 // Disable context menu. | 79 // Disable context menu. |
82 return true; | 80 return true; |
83 } | 81 } |
84 | 82 |
85 } // namespace chromeos | 83 } // namespace chromeos |
OLD | NEW |