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

Side by Side Diff: chrome/browser/chromeos/compact_navigation_bar.h

Issue 329009: CompactNavigationBar for toolkit views build, with some design change per Cole's request. (Closed)
Patch Set: updates per review Created 11 years, 2 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
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_CHROMEOS_COMPACT_NAVIGATION_BAR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_COMPACT_NAVIGATION_BAR_H_
6 #define CHROME_BROWSER_CHROMEOS_COMPACT_NAVIGATION_BAR_H_ 6 #define CHROME_BROWSER_CHROMEOS_COMPACT_NAVIGATION_BAR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/autocomplete/autocomplete_edit.h" 10 #include "chrome/browser/autocomplete/autocomplete_edit.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // views::ButtonListener implementation. 44 // views::ButtonListener implementation.
45 virtual void ButtonPressed(views::Button* sender, const views::Event& event); 45 virtual void ButtonPressed(views::Button* sender, const views::Event& event);
46 46
47 // AutocompleteController implementation. 47 // AutocompleteController implementation.
48 virtual void OnAutocompleteAccept(const GURL& url, 48 virtual void OnAutocompleteAccept(const GURL& url,
49 WindowOpenDisposition disposition, 49 WindowOpenDisposition disposition,
50 PageTransition::Type transition, 50 PageTransition::Type transition,
51 const GURL& alternate_nav_url); 51 const GURL& alternate_nav_url);
52 virtual void OnChanged(); 52 virtual void OnChanged();
53 virtual void OnInputInProgress(bool in_progress); 53 virtual void OnInputInProgress(bool in_progress);
54 virtual void OnKillFocus();
54 virtual void OnSetFocus(); 55 virtual void OnSetFocus();
55 virtual SkBitmap GetFavIcon() const; 56 virtual SkBitmap GetFavIcon() const;
56 virtual std::wstring GetTitle() const; 57 virtual std::wstring GetTitle() const;
57 58
58 // BubblePositioner: 59 // BubblePositioner:
59 virtual gfx::Rect GetLocationStackBounds() const; 60 virtual gfx::Rect GetLocationStackBounds() const;
60 61
61 void AddTabWithURL(const GURL& url, PageTransition::Type transition); 62 void AddTabWithURL(const GURL& url, PageTransition::Type transition);
62 63
63 Browser* browser_; 64 Browser* browser_;
64 65
65 bool initialized_; 66 bool initialized_;
66 67
67 views::ImageButton* back_button_; 68 views::ImageButton* back_button_;
68 views::ImageView* bf_separator_; 69 views::ImageView* bf_separator_;
69 views::ImageButton* forward_button_; 70 views::ImageButton* forward_button_;
70 71
71 scoped_ptr<AutocompleteEditViewGtk> location_entry_; 72 scoped_ptr<AutocompleteEditViewGtk> location_entry_;
72 views::NativeViewHost* location_entry_view_; 73 views::NativeViewHost* location_entry_view_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(CompactNavigationBar); 75 DISALLOW_COPY_AND_ASSIGN(CompactNavigationBar);
75 }; 76 };
76 77
77 #endif // CHROME_BROWSER_CHROMEOS_COMPACT_NAVIGATION_BAR_H_ 78 #endif // CHROME_BROWSER_CHROMEOS_COMPACT_NAVIGATION_BAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/chromeos_browser_extenders.cc ('k') | chrome/browser/chromeos/compact_navigation_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698