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

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: s/selected/focused/, and RemoveObserver. 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
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..94ae3483bfe4901d6898256c433590181f040875 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 focused_field_is_editable() const {
+ return focused_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 focused field in the tab is an editable field.
+ bool focused_field_is_editable_;
sky 2011/01/25 21:37:23 You need to initialize this in the constructor.
+
// 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698