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" | |
8 #include "chrome/browser/profiles/profile_manager.h" | 7 #include "chrome/browser/profiles/profile_manager.h" |
9 #include "chrome/browser/ui/ash/system_tray_client.h" | 8 #include "chrome/browser/ui/ash/system_tray_client.h" |
10 #include "chrome/browser/ui/browser_dialogs.h" | 9 #include "chrome/browser/ui/browser_dialogs.h" |
11 #include "chrome/common/url_constants.h" | 10 #include "chrome/common/url_constants.h" |
12 #include "ui/gfx/geometry/size.h" | 11 #include "ui/gfx/geometry/size.h" |
13 | 12 |
14 using content::WebContents; | 13 using content::WebContents; |
15 using content::WebUIMessageHandler; | 14 using content::WebUIMessageHandler; |
16 | 15 |
17 namespace { | 16 namespace { |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 return false; | 113 return false; |
115 } | 114 } |
116 | 115 |
117 bool SimDialogDelegate::HandleContextMenu( | 116 bool SimDialogDelegate::HandleContextMenu( |
118 const content::ContextMenuParams& params) { | 117 const content::ContextMenuParams& params) { |
119 // Disable context menu. | 118 // Disable context menu. |
120 return true; | 119 return true; |
121 } | 120 } |
122 | 121 |
123 } // namespace chromeos | 122 } // namespace chromeos |
OLD | NEW |