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

Unified Diff: webkit/glue/webview.h

Issue 62129: Find should allow keyboard scrolling while Find bar has focus (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « chrome/views/controls/text_field.cc ('k') | webkit/glue/webview_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview.h
===================================================================
--- webkit/glue/webview.h (revision 13375)
+++ webkit/glue/webview.h (working copy)
@@ -1,9 +1,9 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_GLUE_WEBVIEW_H__
-#define WEBKIT_GLUE_WEBVIEW_H__
+#ifndef WEBKIT_GLUE_WEBVIEW_H_
+#define WEBKIT_GLUE_WEBVIEW_H_
#include <string>
#include <vector>
@@ -129,6 +129,10 @@
// bug is fixed.
virtual void StoreFocusForFrame(WebFrame* frame) = 0;
+ // Clears the focused node (and selection if a text field is focused) to
+ // ensure that a text field on the page is not eating keystrokes we send it.
+ virtual void ClearFocusedNode() = 0;
+
// Requests the webview to download an image. When done, the delegate is
// notified by way of DidDownloadImage. Returns true if the request was
// successfully started, false otherwise. id is used to uniquely identify the
@@ -218,7 +222,7 @@
virtual WebDevToolsAgent* GetWebDevToolsAgent() = 0;
private:
- DISALLOW_EVIL_CONSTRUCTORS(WebView);
+ DISALLOW_COPY_AND_ASSIGN(WebView);
};
-#endif // WEBKIT_GLUE_WEBVIEW_H__
+#endif // WEBKIT_GLUE_WEBVIEW_H_
« no previous file with comments | « chrome/views/controls/text_field.cc ('k') | webkit/glue/webview_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698