| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| 7 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "content/public/browser/notification_registrar.h" | 31 #include "content/public/browser/notification_registrar.h" |
| 32 #include "content/public/common/page_transition_types.h" | 32 #include "content/public/common/page_transition_types.h" |
| 33 #include "googleurl/src/gurl.h" | 33 #include "googleurl/src/gurl.h" |
| 34 #include "third_party/skia/include/core/SkBitmap.h" | 34 #include "third_party/skia/include/core/SkBitmap.h" |
| 35 #include "ui/base/animation/animation_delegate.h" | 35 #include "ui/base/animation/animation_delegate.h" |
| 36 #include "ui/base/animation/slide_animation.h" | 36 #include "ui/base/animation/slide_animation.h" |
| 37 #include "ui/base/gtk/gtk_signal.h" | 37 #include "ui/base/gtk/gtk_signal.h" |
| 38 #include "ui/base/gtk/owned_widget_gtk.h" | 38 #include "ui/base/gtk/owned_widget_gtk.h" |
| 39 #include "webkit/glue/window_open_disposition.h" | 39 #include "webkit/glue/window_open_disposition.h" |
| 40 | 40 |
| 41 class OmniboxViewGtk; | 41 class ActionBoxButtonGtk; |
| 42 class Browser; | 42 class Browser; |
| 43 class CommandUpdater; | 43 class CommandUpdater; |
| 44 class ContentSettingImageModel; | 44 class ContentSettingImageModel; |
| 45 class ContentSettingBubbleGtk; | 45 class ContentSettingBubbleGtk; |
| 46 class ExtensionAction; | 46 class ExtensionAction; |
| 47 class GtkThemeService; | 47 class GtkThemeService; |
| 48 class OmniboxViewGtk; |
| 48 class SkBitmap; | 49 class SkBitmap; |
| 49 class ToolbarModel; | 50 class ToolbarModel; |
| 50 | 51 |
| 51 namespace content { | 52 namespace content { |
| 52 class WebContents; | 53 class WebContents; |
| 53 } | 54 } |
| 54 | 55 |
| 55 namespace ui { | 56 namespace ui { |
| 56 class AcceleratorGtk; | 57 class AcceleratorGtk; |
| 57 } | 58 } |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 GtkWidget* tab_to_search_hint_; | 476 GtkWidget* tab_to_search_hint_; |
| 476 GtkWidget* tab_to_search_hint_leading_label_; | 477 GtkWidget* tab_to_search_hint_leading_label_; |
| 477 GtkWidget* tab_to_search_hint_icon_; | 478 GtkWidget* tab_to_search_hint_icon_; |
| 478 GtkWidget* tab_to_search_hint_trailing_label_; | 479 GtkWidget* tab_to_search_hint_trailing_label_; |
| 479 | 480 |
| 480 scoped_ptr<OmniboxViewGtk> location_entry_; | 481 scoped_ptr<OmniboxViewGtk> location_entry_; |
| 481 | 482 |
| 482 // Alignment used to wrap |location_entry_|. | 483 // Alignment used to wrap |location_entry_|. |
| 483 GtkWidget* location_entry_alignment_; | 484 GtkWidget* location_entry_alignment_; |
| 484 | 485 |
| 486 scoped_ptr<ActionBoxButtonGtk> action_box_button_; |
| 487 |
| 485 CommandUpdater* command_updater_; | 488 CommandUpdater* command_updater_; |
| 486 ToolbarModel* toolbar_model_; | 489 ToolbarModel* toolbar_model_; |
| 487 Browser* browser_; | 490 Browser* browser_; |
| 488 | 491 |
| 489 // When we get an OnAutocompleteAccept notification from the autocomplete | 492 // When we get an OnAutocompleteAccept notification from the autocomplete |
| 490 // edit, we save the input string so we can give it back to the browser on | 493 // edit, we save the input string so we can give it back to the browser on |
| 491 // the LocationBar interface via GetInputString(). | 494 // the LocationBar interface via GetInputString(). |
| 492 string16 location_input_; | 495 string16 location_input_; |
| 493 | 496 |
| 494 // The user's desired disposition for how their input should be opened. | 497 // The user's desired disposition for how their input should be opened. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 BooleanPrefMember edit_bookmarks_enabled_; | 532 BooleanPrefMember edit_bookmarks_enabled_; |
| 530 | 533 |
| 531 // Used to remember the URL and title text when drag&drop has begun. | 534 // Used to remember the URL and title text when drag&drop has begun. |
| 532 GURL drag_url_; | 535 GURL drag_url_; |
| 533 string16 drag_title_; | 536 string16 drag_title_; |
| 534 | 537 |
| 535 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 538 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
| 536 }; | 539 }; |
| 537 | 540 |
| 538 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 541 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| OLD | NEW |