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

Unified Diff: chrome/browser/jsmessage_box_handler.h

Issue 15023: Focus the textfield when doing a JS prompt (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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
« no previous file with comments | « no previous file | chrome/browser/jsmessage_box_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/jsmessage_box_handler.h
===================================================================
--- chrome/browser/jsmessage_box_handler.h (revision 7026)
+++ chrome/browser/jsmessage_box_handler.h (working copy)
@@ -47,6 +47,7 @@
// views::WindowDelegate Methods:
virtual bool IsModal() const { return true; }
virtual views::View* GetContentsView();
+ virtual views::View* GetInitiallyFocusedView() const;
protected:
// Use RunJavaScriptMessageBox to use.
« no previous file with comments | « no previous file | chrome/browser/jsmessage_box_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698