Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: chrome/browser/chromeos/charger_replace/charger_link_dialog.cc

Issue 674273002: Cleanup: Remove unneeded chrome/common/pref_names.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
14 #include "chrome/common/url_constants.h" 13 #include "chrome/common/url_constants.h"
15 #include "chrome/grit/generated_resources.h" 14 #include "chrome/grit/generated_resources.h"
16 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
17 #include "ui/gfx/size.h" 16 #include "ui/gfx/size.h"
18 17
19 using content::WebContents; 18 using content::WebContents;
20 using content::WebUIMessageHandler; 19 using content::WebUIMessageHandler;
21 20
22 namespace chromeos { 21 namespace chromeos {
23 22
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 return true; 83 return true;
85 } 84 }
86 85
87 bool ChargerLinkDialog::HandleContextMenu( 86 bool ChargerLinkDialog::HandleContextMenu(
88 const content::ContextMenuParams& params) { 87 const content::ContextMenuParams& params) {
89 // Disable context menu. 88 // Disable context menu.
90 return true; 89 return true;
91 } 90 }
92 91
93 } // namespace chromeos 92 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698