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

Unified Diff: chrome/browser/views/html_dialog_view.h

Issue 21439: Fix for focus traversal issue in Gears dialogs (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/html_dialog_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/html_dialog_view.h
===================================================================
--- chrome/browser/views/html_dialog_view.h (revision 9911)
+++ chrome/browser/views/html_dialog_view.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__
-#define CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__
+#ifndef CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H_
+#define CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H_
#include <string>
@@ -47,6 +47,7 @@
virtual std::wstring GetWindowTitle() const;
virtual void WindowClosing();
virtual views::View* GetContentsView();
+ virtual views::View* GetInitiallyFocusedView();
// Overridden from HtmlDialogContentsDelegate:
virtual GURL GetDialogContentURL() const;
@@ -91,8 +92,8 @@
// using this variable.
HtmlDialogContentsDelegate* delegate_;
- DISALLOW_EVIL_CONSTRUCTORS(HtmlDialogView);
+ DISALLOW_COPY_AND_ASSIGN(HtmlDialogView);
};
-#endif // CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H__
+#endif // CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H_
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/html_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698