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" | 7 #include "base/strings/stringprintf.h" |
8 #include "chrome/browser/chromeos/login/users/user_manager.h" | |
9 #include "chrome/browser/profiles/profile_manager.h" | 8 #include "chrome/browser/profiles/profile_manager.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/size.h" | 11 #include "ui/gfx/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 { |
18 | 17 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 return false; | 109 return false; |
111 } | 110 } |
112 | 111 |
113 bool SimDialogDelegate::HandleContextMenu( | 112 bool SimDialogDelegate::HandleContextMenu( |
114 const content::ContextMenuParams& params) { | 113 const content::ContextMenuParams& params) { |
115 // Disable context menu. | 114 // Disable context menu. |
116 return true; | 115 return true; |
117 } | 116 } |
118 | 117 |
119 } // namespace chromeos | 118 } // namespace chromeos |
OLD | NEW |