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

Unified Diff: ui/web_dialogs/test/test_web_contents_handler.h

Issue 11636037: Make VKEY_F14 and VKEY_HELP close keyboard overlay. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address a comment Created 8 years 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
Index: ui/web_dialogs/test/test_web_contents_handler.h
diff --git a/chrome/browser/ui/webui/chrome_web_contents_handler.h b/ui/web_dialogs/test/test_web_contents_handler.h
similarity index 65%
copy from chrome/browser/ui/webui/chrome_web_contents_handler.h
copy to ui/web_dialogs/test/test_web_contents_handler.h
index 7e1d32c56843fd4a720bef1c69632ef1947dfb6e..abe2c7353c2cc0d629ff4e74b8b4df11c7a0f326 100644
--- a/chrome/browser/ui/webui/chrome_web_contents_handler.h
+++ b/ui/web_dialogs/test/test_web_contents_handler.h
@@ -2,18 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_WEBUI_CHROME_WEB_CONTENTS_HANDLER_H_
-#define CHROME_BROWSER_UI_WEBUI_CHROME_WEB_CONTENTS_HANDLER_H_
+#ifndef UI_WEB_DIALOGS_TEST_TEST_WEB_CONTENTS_HANDLER_H_
+#define UI_WEB_DIALOGS_TEST_TEST_WEB_CONTENTS_HANDLER_H_
+#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "ui/web_dialogs/web_dialog_web_contents_delegate.h"
-class ChromeWebContentsHandler
- : public ui::WebDialogWebContentsDelegate::WebContentsHandler {
+namespace ui {
+namespace test {
+
+class TestWebContentsHandler
+ : public WebDialogWebContentsDelegate::WebContentsHandler {
public:
- ChromeWebContentsHandler();
- virtual ~ChromeWebContentsHandler();
+ TestWebContentsHandler();
+ virtual ~TestWebContentsHandler();
+ private:
// Overridden from WebDialogWebContentsDelegate::WebContentsHandler:
virtual content::WebContents* OpenURLFromTab(
content::BrowserContext* context,
@@ -26,8 +31,10 @@ class ChromeWebContentsHandler
const gfx::Rect& initial_pos,
bool user_gesture) OVERRIDE;
- private:
- DISALLOW_COPY_AND_ASSIGN(ChromeWebContentsHandler);
+ DISALLOW_COPY_AND_ASSIGN(TestWebContentsHandler);
};
-#endif // CHROME_BROWSER_UI_WEBUI_CHROME_WEB_CONTENTS_HANDLER_H_
+} // namespace test
+} // namespace ui
+
+#endif // UI_WEB_DIALOGS_TEST_TEST_WEB_CONTENTS_HANDLER_H_
« no previous file with comments | « ash/keyboard_overlay/keyboard_overlay_view_unittest.cc ('k') | ui/web_dialogs/test/test_web_contents_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698