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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 GtkWidget* tab_to_search_hint_; | 474 GtkWidget* tab_to_search_hint_; |
474 GtkWidget* tab_to_search_hint_leading_label_; | 475 GtkWidget* tab_to_search_hint_leading_label_; |
475 GtkWidget* tab_to_search_hint_icon_; | 476 GtkWidget* tab_to_search_hint_icon_; |
476 GtkWidget* tab_to_search_hint_trailing_label_; | 477 GtkWidget* tab_to_search_hint_trailing_label_; |
477 | 478 |
478 scoped_ptr<OmniboxViewGtk> location_entry_; | 479 scoped_ptr<OmniboxViewGtk> location_entry_; |
479 | 480 |
480 // Alignment used to wrap |location_entry_|. | 481 // Alignment used to wrap |location_entry_|. |
481 GtkWidget* location_entry_alignment_; | 482 GtkWidget* location_entry_alignment_; |
482 | 483 |
| 484 scoped_ptr<ActionBoxButtonGtk> action_box_button_; |
| 485 |
483 CommandUpdater* command_updater_; | 486 CommandUpdater* command_updater_; |
484 ToolbarModel* toolbar_model_; | 487 ToolbarModel* toolbar_model_; |
485 Browser* browser_; | 488 Browser* browser_; |
486 | 489 |
487 // When we get an OnAutocompleteAccept notification from the autocomplete | 490 // When we get an OnAutocompleteAccept notification from the autocomplete |
488 // edit, we save the input string so we can give it back to the browser on | 491 // edit, we save the input string so we can give it back to the browser on |
489 // the LocationBar interface via GetInputString(). | 492 // the LocationBar interface via GetInputString(). |
490 string16 location_input_; | 493 string16 location_input_; |
491 | 494 |
492 // The user's desired disposition for how their input should be opened. | 495 // 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... |
527 BooleanPrefMember edit_bookmarks_enabled_; | 530 BooleanPrefMember edit_bookmarks_enabled_; |
528 | 531 |
529 // Used to remember the URL and title text when drag&drop has begun. | 532 // Used to remember the URL and title text when drag&drop has begun. |
530 GURL drag_url_; | 533 GURL drag_url_; |
531 string16 drag_title_; | 534 string16 drag_title_; |
532 | 535 |
533 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 536 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
534 }; | 537 }; |
535 | 538 |
536 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ | 539 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ |
OLD | NEW |