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

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

Issue 100198: Redraw the location bar on reload (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 7 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void ShowFirstRunBubble(); 64 virtual void ShowFirstRunBubble();
65 virtual std::wstring GetInputString() const; 65 virtual std::wstring GetInputString() const;
66 virtual WindowOpenDisposition GetWindowOpenDisposition() const; 66 virtual WindowOpenDisposition GetWindowOpenDisposition() const;
67 virtual PageTransition::Type GetPageTransition() const; 67 virtual PageTransition::Type GetPageTransition() const;
68 virtual void AcceptInput(); 68 virtual void AcceptInput();
69 virtual void AcceptInputWithDisposition(WindowOpenDisposition); 69 virtual void AcceptInputWithDisposition(WindowOpenDisposition);
70 virtual void FocusLocation(); 70 virtual void FocusLocation();
71 virtual void FocusSearch(); 71 virtual void FocusSearch();
72 virtual void UpdateFeedIcon(); 72 virtual void UpdateFeedIcon();
73 virtual void SaveStateToContents(TabContents* contents); 73 virtual void SaveStateToContents(TabContents* contents);
74 virtual void Revert();
74 75
75 // Translation between a security level and the background color. Both the 76 // Translation between a security level and the background color. Both the
76 // location bar and edit have to manage and match the background color. 77 // location bar and edit have to manage and match the background color.
77 static const GdkColor kBackgroundColorByLevel[3]; 78 static const GdkColor kBackgroundColorByLevel[3];
78 79
79 private: 80 private:
80 static gboolean HandleExposeThunk(GtkWidget* widget, GdkEventExpose* event, 81 static gboolean HandleExposeThunk(GtkWidget* widget, GdkEventExpose* event,
81 gpointer userdata) { 82 gpointer userdata) {
82 return reinterpret_cast<LocationBarViewGtk*>(userdata)-> 83 return reinterpret_cast<LocationBarViewGtk*>(userdata)->
83 HandleExpose(widget, event); 84 HandleExpose(widget, event);
(...skipping 21 matching lines...) Expand all
105 // The user's desired disposition for how their input should be opened 106 // The user's desired disposition for how their input should be opened
106 WindowOpenDisposition disposition_; 107 WindowOpenDisposition disposition_;
107 108
108 // The transition type to use for the navigation 109 // The transition type to use for the navigation
109 PageTransition::Type transition_; 110 PageTransition::Type transition_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); 112 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk);
112 }; 113 };
113 114
114 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ 115 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/location_bar_view_mac.mm ('k') | chrome/browser/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698