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

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

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <map> 10 #include <map>
11 #include <string> 11 #include <string>
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 virtual void OnKillFocus() OVERRIDE; 122 virtual void OnKillFocus() OVERRIDE;
123 virtual void OnSetFocus() OVERRIDE; 123 virtual void OnSetFocus() OVERRIDE;
124 virtual void OnInputInProgress(bool in_progress) OVERRIDE; 124 virtual void OnInputInProgress(bool in_progress) OVERRIDE;
125 virtual gfx::Image GetFavicon() const OVERRIDE; 125 virtual gfx::Image GetFavicon() const OVERRIDE;
126 virtual string16 GetTitle() const OVERRIDE; 126 virtual string16 GetTitle() const OVERRIDE;
127 virtual InstantController* GetInstant() OVERRIDE; 127 virtual InstantController* GetInstant() OVERRIDE;
128 virtual content::WebContents* GetWebContents() const OVERRIDE; 128 virtual content::WebContents* GetWebContents() const OVERRIDE;
129 129
130 // LocationBar: 130 // LocationBar:
131 virtual void ShowFirstRunBubble() OVERRIDE; 131 virtual void ShowFirstRunBubble() OVERRIDE;
132 virtual void SetInstantSuggestion(
133 const InstantSuggestion& suggestion) OVERRIDE;
134 virtual string16 GetInputString() const OVERRIDE; 132 virtual string16 GetInputString() const OVERRIDE;
135 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; 133 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE;
136 virtual content::PageTransition GetPageTransition() const OVERRIDE; 134 virtual content::PageTransition GetPageTransition() const OVERRIDE;
137 virtual void AcceptInput() OVERRIDE; 135 virtual void AcceptInput() OVERRIDE;
138 virtual void FocusLocation(bool select_all) OVERRIDE; 136 virtual void FocusLocation(bool select_all) OVERRIDE;
139 virtual void FocusSearch() OVERRIDE; 137 virtual void FocusSearch() OVERRIDE;
140 virtual void UpdateContentSettingsIcons() OVERRIDE; 138 virtual void UpdateContentSettingsIcons() OVERRIDE;
141 virtual void UpdatePageActions() OVERRIDE; 139 virtual void UpdatePageActions() OVERRIDE;
142 virtual void InvalidatePageActions() OVERRIDE; 140 virtual void InvalidatePageActions() OVERRIDE;
143 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE; 141 virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE;
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 BooleanPrefMember edit_bookmarks_enabled_; 534 BooleanPrefMember edit_bookmarks_enabled_;
537 535
538 // Used to remember the URL and title text when drag&drop has begun. 536 // Used to remember the URL and title text when drag&drop has begun.
539 GURL drag_url_; 537 GURL drag_url_;
540 string16 drag_title_; 538 string16 drag_title_;
541 539
542 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); 540 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk);
543 }; 541 };
544 542
545 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_ 543 #endif // CHROME_BROWSER_UI_GTK_LOCATION_BAR_VIEW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698