| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_VIEWS_H_ |
| 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_VIEWS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" | 13 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" |
| 14 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 14 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
| 15 #include "chrome/common/page_transition_types.h" | |
| 16 #include "content/common/notification_observer.h" | 15 #include "content/common/notification_observer.h" |
| 16 #include "content/common/page_transition_types.h" |
| 17 #include "ui/base/range/range.h" | 17 #include "ui/base/range/range.h" |
| 18 #include "views/controls/textfield/textfield_controller.h" | 18 #include "views/controls/textfield/textfield_controller.h" |
| 19 #include "views/view.h" | 19 #include "views/view.h" |
| 20 #include "webkit/glue/window_open_disposition.h" | 20 #include "webkit/glue/window_open_disposition.h" |
| 21 | 21 |
| 22 class AutocompleteEditController; | 22 class AutocompleteEditController; |
| 23 class AutocompleteEditModel; | 23 class AutocompleteEditModel; |
| 24 class AutocompletePopupView; | 24 class AutocompletePopupView; |
| 25 class Profile; | 25 class Profile; |
| 26 class TabContents; | 26 class TabContents; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 // This flag should be set for changes directly caused by a key press event, | 204 // This flag should be set for changes directly caused by a key press event, |
| 205 // including changes to content text, selection range and preedit string. | 205 // including changes to content text, selection range and preedit string. |
| 206 // Changes caused by function calls like SetUserText() should not affect this | 206 // Changes caused by function calls like SetUserText() should not affect this |
| 207 // flag. | 207 // flag. |
| 208 bool content_maybe_changed_by_key_press_; | 208 bool content_maybe_changed_by_key_press_; |
| 209 | 209 |
| 210 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewViews); | 210 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewViews); |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_VIEWS_H_ | 213 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_VIEWS_H_ |
| OLD | NEW |