| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SET_TIME_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SET_TIME_DIALOG_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SET_TIME_DIALOG_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SET_TIME_DIALOG_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/values.h" | 12 #include "base/values.h" |
| 12 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 13 #include "ui/web_dialogs/web_dialog_delegate.h" | 14 #include "ui/web_dialogs/web_dialog_delegate.h" |
| 14 | 15 |
| 15 namespace chromeos { | 16 namespace chromeos { |
| 16 | 17 |
| 17 // Set Time dialog for setting the system time, date and time zone. | 18 // Set Time dialog for setting the system time, date and time zone. |
| 18 class SetTimeDialog : public ui::WebDialogDelegate { | 19 class SetTimeDialog : public ui::WebDialogDelegate { |
| 19 public: | 20 public: |
| 20 SetTimeDialog(); | 21 SetTimeDialog(); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 36 bool* out_close_dialog) override; | 37 bool* out_close_dialog) override; |
| 37 bool ShouldShowDialogTitle() const override; | 38 bool ShouldShowDialogTitle() const override; |
| 38 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 39 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
| 39 | 40 |
| 40 DISALLOW_COPY_AND_ASSIGN(SetTimeDialog); | 41 DISALLOW_COPY_AND_ASSIGN(SetTimeDialog); |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 } // namespace chromeos | 44 } // namespace chromeos |
| 44 | 45 |
| 45 #endif // CHROME_BROWSER_CHROMEOS_SET_TIME_DIALOG_H_ | 46 #endif // CHROME_BROWSER_CHROMEOS_SET_TIME_DIALOG_H_ |
| OLD | NEW |