| 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_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "chrome/browser/ui/views/web_dialog_view.h" | 10 #include "chrome/browser/ui/views/web_dialog_view.h" |
| 11 | 11 |
| 12 class Profile; | 12 class Profile; |
| 13 |
| 14 namespace ui { |
| 13 class WebDialogDelegate; | 15 class WebDialogDelegate; |
| 16 } |
| 14 | 17 |
| 15 // A customized dialog view for the keyboard overlay. | 18 // A customized dialog view for the keyboard overlay. |
| 16 class KeyboardOverlayDialogView : public WebDialogView { | 19 class KeyboardOverlayDialogView : public WebDialogView { |
| 17 public: | 20 public: |
| 18 KeyboardOverlayDialogView(Profile* profile, WebDialogDelegate* delegate); | 21 KeyboardOverlayDialogView(Profile* profile, ui::WebDialogDelegate* delegate); |
| 19 virtual ~KeyboardOverlayDialogView(); | 22 virtual ~KeyboardOverlayDialogView(); |
| 20 | 23 |
| 21 // Shows the keyboard overlay. | 24 // Shows the keyboard overlay. |
| 22 static void ShowDialog(); | 25 static void ShowDialog(); |
| 23 | 26 |
| 24 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDialogView); | 27 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDialogView); |
| 25 }; | 28 }; |
| 26 | 29 |
| 27 #endif // CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_ | 30 #endif // CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DIALOG_VIEW_H_ |
| OLD | NEW |