OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/charger_replace/charger_link_dialog.h" | 5 #include "chrome/browser/chromeos/charger_replace/charger_link_dialog.h" |
6 | 6 |
7 #include "base/json/json_writer.h" | 7 #include "base/json/json_writer.h" |
8 #include "base/prefs/pref_service.h" | 8 #include "base/prefs/pref_service.h" |
9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/profiles/profile_manager.h" | 10 #include "chrome/browser/profiles/profile_manager.h" |
11 #include "chrome/browser/ui/browser_dialogs.h" | 11 #include "chrome/browser/ui/browser_dialogs.h" |
12 #include "chrome/browser/ui/webui/chromeos/charger_replacement_handler.h" | 12 #include "chrome/browser/ui/webui/chromeos/charger_replacement_handler.h" |
13 #include "chrome/common/pref_names.h" | 13 #include "chrome/common/pref_names.h" |
14 #include "chrome/common/url_constants.h" | 14 #include "chrome/common/url_constants.h" |
15 #include "grit/generated_resources.h" | 15 #include "chrome/grit/generated_resources.h" |
16 #include "ui/base/l10n/l10n_util.h" | 16 #include "ui/base/l10n/l10n_util.h" |
17 #include "ui/gfx/size.h" | 17 #include "ui/gfx/size.h" |
18 | 18 |
19 using content::WebContents; | 19 using content::WebContents; |
20 using content::WebUIMessageHandler; | 20 using content::WebUIMessageHandler; |
21 | 21 |
22 namespace chromeos { | 22 namespace chromeos { |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 return true; | 84 return true; |
85 } | 85 } |
86 | 86 |
87 bool ChargerLinkDialog::HandleContextMenu( | 87 bool ChargerLinkDialog::HandleContextMenu( |
88 const content::ContextMenuParams& params) { | 88 const content::ContextMenuParams& params) { |
89 // Disable context menu. | 89 // Disable context menu. |
90 return true; | 90 return true; |
91 } | 91 } |
92 | 92 |
93 } // namespace chromeos | 93 } // namespace chromeos |
OLD | NEW |