Index: ash/wm/keyboard_overlay_delegate.h |
diff --git a/chrome/browser/ui/views/keyboard_overlay_delegate.h b/ash/wm/keyboard_overlay_delegate.h |
similarity index 84% |
rename from chrome/browser/ui/views/keyboard_overlay_delegate.h |
rename to ash/wm/keyboard_overlay_delegate.h |
index 50b8a926c702d028b7a8186677697c3b395e142b..6d9d671fa3c4553dae84b94223c17ae55540c3bf 100644 |
--- a/chrome/browser/ui/views/keyboard_overlay_delegate.h |
+++ b/ash/wm/keyboard_overlay_delegate.h |
@@ -2,11 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DELEGATE_H_ |
-#define CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DELEGATE_H_ |
+#ifndef ASH_WM_KEYBOARD_OVERLAY_DELEGATE_H_ |
+#define ASH_WM_KEYBOARD_OVERLAY_DELEGATE_H_ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "googleurl/src/gurl.h" |
#include "ui/web_dialogs/web_dialog_delegate.h" |
namespace views { |
@@ -15,7 +16,7 @@ class WebDialogView; |
class KeyboardOverlayDelegate : public ui::WebDialogDelegate { |
public: |
- explicit KeyboardOverlayDelegate(const string16& title); |
+ KeyboardOverlayDelegate(const string16& title, const GURL& url); |
void Show(views::WebDialogView* view); |
@@ -42,6 +43,9 @@ class KeyboardOverlayDelegate : public ui::WebDialogDelegate { |
// The dialog title. |
string16 title_; |
+ // The URL of the keyboard overlay. |
+ GURL url_; |
+ |
// The view associated with this delegate. |
// This class does not own the pointer. |
views::WebDialogView* view_; |
@@ -49,4 +53,4 @@ class KeyboardOverlayDelegate : public ui::WebDialogDelegate { |
DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDelegate); |
}; |
-#endif // CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DELEGATE_H_ |
+#endif // ASH_WM_KEYBOARD_OVERLAY_DELEGATE_H_ |