Chromium Code Reviews| 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_; |