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

Unified Diff: chrome/browser/tab_contents/tab_contents.h

Issue 6277020: keyboard: Update the visibility after tab-switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
Index: chrome/browser/tab_contents/tab_contents.h
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index d22eeec76583a6e3fb1b19f7afc34e1d6be55cd5..e6c3315787044ecda2807db41cc3a5f6c9f1bbfd 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -742,6 +742,9 @@ class TabContents : public PageNavigator,
int minimum_zoom_percent() const { return minimum_zoom_percent_; }
int maximum_zoom_percent() const { return maximum_zoom_percent_; }
+ bool selected_field_is_editable() const {
+ return selected_field_is_editable_;
+ }
int content_restrictions() const { return content_restrictions_; }
AutocompleteHistoryManager* autocomplete_history_manager() {
@@ -1331,6 +1334,9 @@ class TabContents : public PageNavigator,
// remember it.
bool temporary_zoom_settings_;
+ // Whether the selected field in the tab is an editable field.
sky 2011/01/25 19:15:21 Should this be focused?
sadrul 2011/01/25 21:11:50 Indeed. Changed the 'selected's into 'focused' to
+ bool selected_field_is_editable_;
sadrul 2011/01/25 18:10:50 This could also move to RenderWidgetHostView or Re
+
// A list of observers notified when page state changes. Weak references.
ObserverList<WebNavigationObserver> web_navigation_observers_;
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents.cc » ('j') | chrome/browser/ui/touch/frame/touch_browser_frame_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698