Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Side by Side Diff: chrome/browser/ui/gtk/location_bar_view_gtk.h

Issue 6814029: Revert 80519 - Move favicon from TabContents to TabContentsWrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_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 #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 "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/scoped_vector.h" 16 #include "base/memory/scoped_vector.h"
17 #include "chrome/browser/autocomplete/autocomplete_edit.h" 17 #include "chrome/browser/autocomplete/autocomplete_edit.h"
18 #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h" 18 #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h"
19 #include "chrome/browser/extensions/extension_context_menu_model.h" 19 #include "chrome/browser/extensions/extension_context_menu_model.h"
20 #include "chrome/browser/extensions/image_loading_tracker.h" 20 #include "chrome/browser/extensions/image_loading_tracker.h"
21 #include "chrome/browser/favicon_tab_helper.h"
22 #include "chrome/browser/first_run/first_run.h" 21 #include "chrome/browser/first_run/first_run.h"
23 #include "chrome/browser/ui/gtk/info_bubble_gtk.h" 22 #include "chrome/browser/ui/gtk/info_bubble_gtk.h"
24 #include "chrome/browser/ui/gtk/menu_gtk.h" 23 #include "chrome/browser/ui/gtk/menu_gtk.h"
25 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" 24 #include "chrome/browser/ui/gtk/owned_widget_gtk.h"
26 #include "chrome/browser/ui/omnibox/location_bar.h" 25 #include "chrome/browser/ui/omnibox/location_bar.h"
27 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
28 #include "chrome/common/content_settings_types.h" 26 #include "chrome/common/content_settings_types.h"
29 #include "content/common/notification_observer.h" 27 #include "content/common/notification_observer.h"
30 #include "content/common/notification_registrar.h" 28 #include "content/common/notification_registrar.h"
31 #include "content/common/page_transition_types.h" 29 #include "content/common/page_transition_types.h"
32 #include "third_party/skia/include/core/SkBitmap.h" 30 #include "third_party/skia/include/core/SkBitmap.h"
33 #include "ui/base/animation/slide_animation.h" 31 #include "ui/base/animation/slide_animation.h"
34 #include "ui/base/gtk/gtk_signal.h" 32 #include "ui/base/gtk/gtk_signal.h"
35 #include "webkit/glue/window_open_disposition.h" 33 #include "webkit/glue/window_open_disposition.h"
36 34
37 class AutocompleteEditViewGtk; 35 class AutocompleteEditViewGtk;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 PageTransition::Type transition, 97 PageTransition::Type transition,
100 const GURL& alternate_nav_url) OVERRIDE; 98 const GURL& alternate_nav_url) OVERRIDE;
101 virtual void OnChanged() OVERRIDE; 99 virtual void OnChanged() OVERRIDE;
102 virtual void OnSelectionBoundsChanged() OVERRIDE; 100 virtual void OnSelectionBoundsChanged() OVERRIDE;
103 virtual void OnKillFocus() OVERRIDE; 101 virtual void OnKillFocus() OVERRIDE;
104 virtual void OnSetFocus() OVERRIDE; 102 virtual void OnSetFocus() OVERRIDE;
105 virtual void OnInputInProgress(bool in_progress) OVERRIDE; 103 virtual void OnInputInProgress(bool in_progress) OVERRIDE;
106 virtual SkBitmap GetFavicon() const OVERRIDE; 104 virtual SkBitmap GetFavicon() const OVERRIDE;
107 virtual string16 GetTitle() const OVERRIDE; 105 virtual string16 GetTitle() const OVERRIDE;
108 virtual InstantController* GetInstant() OVERRIDE; 106 virtual InstantController* GetInstant() OVERRIDE;
109 virtual TabContentsWrapper* GetTabContentsWrapper() const OVERRIDE; 107 virtual TabContentsWrapper* GetTabContentsWrapper() OVERRIDE;
110 108
111 // Implement the LocationBar interface. 109 // Implement the LocationBar interface.
112 virtual void ShowFirstRunBubble(FirstRun::BubbleType bubble_type); 110 virtual void ShowFirstRunBubble(FirstRun::BubbleType bubble_type);
113 virtual void SetSuggestedText(const string16& text, 111 virtual void SetSuggestedText(const string16& text,
114 InstantCompleteBehavior behavior); 112 InstantCompleteBehavior behavior);
115 virtual std::wstring GetInputString() const; 113 virtual std::wstring GetInputString() const;
116 virtual WindowOpenDisposition GetWindowOpenDisposition() const; 114 virtual WindowOpenDisposition GetWindowOpenDisposition() const;
117 virtual PageTransition::Type GetPageTransition() const; 115 virtual PageTransition::Type GetPageTransition() const;
118 virtual void AcceptInput(); 116 virtual void AcceptInput();
119 virtual void FocusLocation(bool select_all); 117 virtual void FocusLocation(bool select_all);
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 // Indicate if |tab_to_search_hint_| should be shown. 447 // Indicate if |tab_to_search_hint_| should be shown.
450 bool show_keyword_hint_; 448 bool show_keyword_hint_;
451 449
452 // The last search keyword that was shown via the |tab_to_search_box_|. 450 // The last search keyword that was shown via the |tab_to_search_box_|.
453 string16 last_keyword_; 451 string16 last_keyword_;
454 452
455 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); 453 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk);
456 }; 454 };
457 455
458 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ 456 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698