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_UI_CHOOSE_MOBILE_NETWORK_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_CHOOSE_MOBILE_NETWORK_DIALOG_H_ |
6 #define CHROME_BROWSER_CHROMEOS_UI_CHOOSE_MOBILE_NETWORK_DIALOG_H_ | 6 #define CHROME_BROWSER_CHROMEOS_UI_CHOOSE_MOBILE_NETWORK_DIALOG_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 // Dialog for manual selection of cellular network. | 15 // Dialog for manual selection of cellular network. |
16 class ChooseMobileNetworkDialog : public ui::WebDialogDelegate { | 16 class ChooseMobileNetworkDialog : public ui::WebDialogDelegate { |
17 public: | 17 public: |
18 // Shows the dialog box. | 18 // Shows the dialog box. |
19 static void ShowDialog(gfx::NativeWindow owning_window); | 19 static void ShowDialog(gfx::NativeWindow owning_window); |
(...skipping 14 matching lines...) Expand all Loading... |
34 bool* out_close_dialog) override; | 34 bool* out_close_dialog) override; |
35 bool ShouldShowDialogTitle() const override; | 35 bool ShouldShowDialogTitle() const override; |
36 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 36 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
37 | 37 |
38 DISALLOW_COPY_AND_ASSIGN(ChooseMobileNetworkDialog); | 38 DISALLOW_COPY_AND_ASSIGN(ChooseMobileNetworkDialog); |
39 }; | 39 }; |
40 | 40 |
41 } // namespace chromeos | 41 } // namespace chromeos |
42 | 42 |
43 #endif // CHROME_BROWSER_CHROMEOS_UI_CHOOSE_MOBILE_NETWORK_DIALOG_H_ | 43 #endif // CHROME_BROWSER_CHROMEOS_UI_CHOOSE_MOBILE_NETWORK_DIALOG_H_ |
OLD | NEW |