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

Side by Side Diff: chrome/browser/views/location_bar_view.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
« no previous file with comments | « chrome/browser/location_bar.h ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_LOCATION_BAR_VIEW_H__ 5 #ifndef CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__
6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__ 6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 virtual void ShowFirstRunBubble(); 118 virtual void ShowFirstRunBubble();
119 virtual std::wstring GetInputString() const; 119 virtual std::wstring GetInputString() const;
120 virtual WindowOpenDisposition GetWindowOpenDisposition() const; 120 virtual WindowOpenDisposition GetWindowOpenDisposition() const;
121 virtual PageTransition::Type GetPageTransition() const; 121 virtual PageTransition::Type GetPageTransition() const;
122 virtual void AcceptInput(); 122 virtual void AcceptInput();
123 virtual void AcceptInputWithDisposition(WindowOpenDisposition); 123 virtual void AcceptInputWithDisposition(WindowOpenDisposition);
124 virtual void FocusLocation(); 124 virtual void FocusLocation();
125 virtual void FocusSearch(); 125 virtual void FocusSearch();
126 virtual void UpdateFeedIcon(); 126 virtual void UpdateFeedIcon();
127 virtual void SaveStateToContents(TabContents* contents); 127 virtual void SaveStateToContents(TabContents* contents);
128 virtual void Revert();
128 129
129 static const int kVertMargin; 130 static const int kVertMargin;
130 static const COLORREF kBackgroundColorByLevel[]; 131 static const COLORREF kBackgroundColorByLevel[];
131 132
132 protected: 133 protected:
133 void Focus(); 134 void Focus();
134 135
135 // Overridden from Chrome::View. 136 // Overridden from Chrome::View.
136 virtual bool ShouldLookupAccelerators(const views::KeyEvent& e); 137 virtual bool ShouldLookupAccelerators(const views::KeyEvent& e);
137 138
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 bool popup_window_mode_; 448 bool popup_window_mode_;
448 449
449 // Used schedule a task for the first run info bubble. 450 // Used schedule a task for the first run info bubble.
450 ScopedRunnableMethodFactory<LocationBarView> first_run_bubble_; 451 ScopedRunnableMethodFactory<LocationBarView> first_run_bubble_;
451 452
452 // The positioner that places the autocomplete popup. 453 // The positioner that places the autocomplete popup.
453 AutocompletePopupPositioner* popup_positioner_; 454 AutocompletePopupPositioner* popup_positioner_;
454 }; 455 };
455 456
456 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__ 457 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__
OLDNEW
« no previous file with comments | « chrome/browser/location_bar.h ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698