Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2521)

Unified Diff: ash/keyboard_overlay/keyboard_overlay_delegate.h

Issue 10824023: Revert "Revert 148383 - Move the keyboard overlay view to ash." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/keyboard_overlay/keyboard_overlay_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/keyboard_overlay/keyboard_overlay_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698