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

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

Issue 53020: Redone http://codereview.chromium.org/42571 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual void OnInputInProgress(bool in_progress); 52 virtual void OnInputInProgress(bool in_progress);
53 virtual SkBitmap GetFavIcon() const; 53 virtual SkBitmap GetFavIcon() const;
54 virtual std::wstring GetTitle() const; 54 virtual std::wstring GetTitle() const;
55 55
56 // Implement the LocationBar interface. 56 // Implement the LocationBar interface.
57 virtual void ShowFirstRunBubble(); 57 virtual void ShowFirstRunBubble();
58 virtual std::wstring GetInputString() const; 58 virtual std::wstring GetInputString() const;
59 virtual WindowOpenDisposition GetWindowOpenDisposition() const; 59 virtual WindowOpenDisposition GetWindowOpenDisposition() const;
60 virtual PageTransition::Type GetPageTransition() const; 60 virtual PageTransition::Type GetPageTransition() const;
61 virtual void AcceptInput(); 61 virtual void AcceptInput();
62 virtual void AcceptInputWithDisposition(WindowOpenDisposition);
62 virtual void FocusLocation(); 63 virtual void FocusLocation();
63 virtual void FocusSearch(); 64 virtual void FocusSearch();
64 virtual void UpdateFeedIcon(); 65 virtual void UpdateFeedIcon();
65 virtual void SaveStateToContents(TabContents* contents); 66 virtual void SaveStateToContents(TabContents* contents);
66 67
67 private: 68 private:
68 // The outermost widget we want to be hosted. 69 // The outermost widget we want to be hosted.
69 OwnedWidgetGtk outer_bin_; 70 OwnedWidgetGtk outer_bin_;
70 71
71 // This is the widget you probably care about, our inner vbox (inside the 72 // This is the widget you probably care about, our inner vbox (inside the
(...skipping 14 matching lines...) Expand all
86 // The user's desired disposition for how their input should be opened 87 // The user's desired disposition for how their input should be opened
87 WindowOpenDisposition disposition_; 88 WindowOpenDisposition disposition_;
88 89
89 // The transition type to use for the navigation 90 // The transition type to use for the navigation
90 PageTransition::Type transition_; 91 PageTransition::Type transition_;
91 92
92 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); 93 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk);
93 }; 94 };
94 95
95 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ 96 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/tab_contents_controller.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