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..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_; |