Index: ash/keyboard_overlay/keyboard_overlay_delegate.h |
diff --git a/chrome/browser/ui/views/keyboard_overlay_delegate.h b/ash/keyboard_overlay/keyboard_overlay_delegate.h |
similarity index 82% |
rename from chrome/browser/ui/views/keyboard_overlay_delegate.h |
rename to ash/keyboard_overlay/keyboard_overlay_delegate.h |
index 50b8a926c702d028b7a8186677697c3b395e142b..7a63ee5cea0f76d468a0207909579c9d27bbbd53 100644 |
--- a/chrome/browser/ui/views/keyboard_overlay_delegate.h |
+++ b/ash/keyboard_overlay/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_KEYBOARD_OVERLAY_KEYBOARD_OVERLAY_DELEGATE_H_ |
+#define ASH_KEYBOARD_OVERLAY_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_KEYBOARD_OVERLAY_KEYBOARD_OVERLAY_DELEGATE_H_ |