| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GTK_LOCATION_BAR_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| 11 #include <map> | 11 #include <map> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "app/gtk_signal.h" | 14 #include "app/gtk_signal.h" |
| 15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 16 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
| 17 #include "base/scoped_vector.h" | 17 #include "base/scoped_vector.h" |
| 18 #include "chrome/browser/autocomplete/autocomplete_edit.h" | 18 #include "chrome/browser/autocomplete/autocomplete_edit.h" |
| 19 #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h" | 19 #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h" |
| 20 #include "chrome/browser/extensions/extension_context_menu_model.h" | 20 #include "chrome/browser/extensions/extension_context_menu_model.h" |
| 21 #include "chrome/browser/extensions/image_loading_tracker.h" | 21 #include "chrome/browser/extensions/image_loading_tracker.h" |
| 22 #include "chrome/browser/first_run.h" | 22 #include "chrome/browser/first_run/first_run.h" |
| 23 #include "chrome/browser/gtk/info_bubble_gtk.h" | 23 #include "chrome/browser/gtk/info_bubble_gtk.h" |
| 24 #include "chrome/browser/gtk/menu_gtk.h" | 24 #include "chrome/browser/gtk/menu_gtk.h" |
| 25 #include "chrome/browser/location_bar.h" | 25 #include "chrome/browser/location_bar.h" |
| 26 #include "chrome/common/content_settings_types.h" | 26 #include "chrome/common/content_settings_types.h" |
| 27 #include "chrome/common/notification_observer.h" | 27 #include "chrome/common/notification_observer.h" |
| 28 #include "chrome/common/notification_registrar.h" | 28 #include "chrome/common/notification_registrar.h" |
| 29 #include "chrome/common/owned_widget_gtk.h" | 29 #include "chrome/common/owned_widget_gtk.h" |
| 30 #include "chrome/common/page_transition_types.h" | 30 #include "chrome/common/page_transition_types.h" |
| 31 #include "third_party/skia/include/core/SkBitmap.h" | 31 #include "third_party/skia/include/core/SkBitmap.h" |
| 32 #include "webkit/glue/window_open_disposition.h" | 32 #include "webkit/glue/window_open_disposition.h" |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 // Indicate if |tab_to_search_hint_| should be shown. | 417 // Indicate if |tab_to_search_hint_| should be shown. |
| 418 bool show_keyword_hint_; | 418 bool show_keyword_hint_; |
| 419 | 419 |
| 420 // The last search keyword that was shown via the |tab_to_search_box_|. | 420 // The last search keyword that was shown via the |tab_to_search_box_|. |
| 421 std::wstring last_keyword_; | 421 std::wstring last_keyword_; |
| 422 | 422 |
| 423 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 423 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
| 424 }; | 424 }; |
| 425 | 425 |
| 426 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ | 426 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| OLD | NEW |