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

Unified Diff: chrome/renderer/searchbox/searchbox.h

Issue 13375003: Fixing iframe jank in the local omnibox popup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: virtual Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/resources/renderer_resources.grd ('k') | chrome/renderer/searchbox/searchbox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/searchbox/searchbox.h
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index 8a229066b34ab89d5862ef2439e6f6c016ce387a..6b6e600222e5086f6ed34364a757445169886117 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -109,23 +109,6 @@ class SearchBox : public content::RenderViewObserver,
// browser.
void UndoAllMostVisitedDeletions();
- // Generates a data:// URL containing the HTML required to display a result.
- bool GenerateDataURLForSuggestionRequest(const GURL& request_url,
- GURL* data_url) const;
-
- // Sets the InstantAutocompleteResultStyle to the input value.
- void SetInstantAutocompleteResultStyle(
- const InstantAutocompleteResultStyle& style);
-
- // Formats a URL for display to the user. Strips out prefixes like whitespace,
- // "http://" and "www." unless the user input (|query_|) matches the prefix.
- // Also removes trailing whitespaces and "/" unless the user input matches the
- // trailing "/".
- void FormatURLForDisplay(string16* url) const;
-
- // Returns true if the Instant page should use iframes to display suggestions.
- static bool ShouldUseIframes();
-
private:
// Overridden from content::RenderViewObserver:
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
@@ -177,7 +160,6 @@ class SearchBox : public content::RenderViewObserver,
InstantRestrictedIDCache<InstantAutocompleteResult>
autocomplete_results_cache_;
InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_;
- InstantAutocompleteResultStyle autocomplete_results_style_;
DISALLOW_COPY_AND_ASSIGN(SearchBox);
};
« no previous file with comments | « chrome/renderer/resources/renderer_resources.grd ('k') | chrome/renderer/searchbox/searchbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698