| 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 #ifndef CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 11 #include "ui/web_dialogs/web_dialog_delegate.h" | 11 #include "ui/web_dialogs/web_dialog_delegate.h" |
| 12 | 12 |
| 13 namespace chromeos { | 13 namespace chromeos { |
| 14 | 14 |
| 15 // SIM unlock dialog displayed in cases when SIM card has to be unlocked. | 15 // SIM unlock dialog displayed in cases when SIM card has to be unlocked. |
| 16 class SimDialogDelegate : public ui::WebDialogDelegate { | 16 class SimDialogDelegate : public ui::WebDialogDelegate { |
| 17 public: | 17 public: |
| 18 // Type of the SIM dialog that is launched. | 18 // Type of the SIM dialog that is launched. |
| 19 typedef enum SimDialogMode { | 19 typedef enum SimDialogMode { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 46 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 46 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
| 47 | 47 |
| 48 SimDialogMode dialog_mode_; | 48 SimDialogMode dialog_mode_; |
| 49 | 49 |
| 50 DISALLOW_COPY_AND_ASSIGN(SimDialogDelegate); | 50 DISALLOW_COPY_AND_ASSIGN(SimDialogDelegate); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace chromeos | 53 } // namespace chromeos |
| 54 | 54 |
| 55 #endif // CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_ | 55 #endif // CHROME_BROWSER_CHROMEOS_SIM_DIALOG_DELEGATE_H_ |
| OLD | NEW |