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

Side by Side Diff: chrome/renderer/searchbox/searchbox.h

Issue 11889003: Fixing ESC in instant-extended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 10 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/common/render_messages.h ('k') | chrome/renderer/searchbox/searchbox.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 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_RENDERER_SEARCHBOX_SEARCHBOX_H_ 5 #ifndef CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_
6 #define CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ 6 #define CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 size_t selection_start, 78 size_t selection_start,
79 size_t selection_end); 79 size_t selection_end);
80 void OnSubmit(const string16& query); 80 void OnSubmit(const string16& query);
81 void OnCancel(const string16& query); 81 void OnCancel(const string16& query);
82 void OnPopupResize(const gfx::Rect& bounds); 82 void OnPopupResize(const gfx::Rect& bounds);
83 void OnMarginChange(int start, int end); 83 void OnMarginChange(int start, int end);
84 void OnDetermineIfPageSupportsInstant(); 84 void OnDetermineIfPageSupportsInstant();
85 void OnAutocompleteResults( 85 void OnAutocompleteResults(
86 const std::vector<InstantAutocompleteResult>& results); 86 const std::vector<InstantAutocompleteResult>& results);
87 void OnUpOrDownKeyPressed(int count); 87 void OnUpOrDownKeyPressed(int count);
88 void OnCancelSelection(const string16& query);
88 void OnKeyCaptureChange(bool is_key_capture_enabled); 89 void OnKeyCaptureChange(bool is_key_capture_enabled);
89 void OnSetDisplayInstantResults(bool display_instant_results); 90 void OnSetDisplayInstantResults(bool display_instant_results);
90 void OnThemeChanged(const ThemeBackgroundInfo& theme_info); 91 void OnThemeChanged(const ThemeBackgroundInfo& theme_info);
91 void OnThemeAreaHeightChanged(int height); 92 void OnThemeAreaHeightChanged(int height);
92 void OnFontInformationReceived(const string16& omnibox_font, 93 void OnFontInformationReceived(const string16& omnibox_font,
93 size_t omnibox_font_size); 94 size_t omnibox_font_size);
94 95
95 // Returns the current zoom factor of the render view or 1 on failure. 96 // Returns the current zoom factor of the render view or 1 on failure.
96 double GetZoom() const; 97 double GetZoom() const;
97 98
(...skipping 15 matching lines...) Expand all
113 ThemeBackgroundInfo theme_info_; 114 ThemeBackgroundInfo theme_info_;
114 int theme_area_height_; 115 int theme_area_height_;
115 bool display_instant_results_; 116 bool display_instant_results_;
116 string16 omnibox_font_; 117 string16 omnibox_font_;
117 size_t omnibox_font_size_; 118 size_t omnibox_font_size_;
118 119
119 DISALLOW_COPY_AND_ASSIGN(SearchBox); 120 DISALLOW_COPY_AND_ASSIGN(SearchBox);
120 }; 121 };
121 122
122 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_ 123 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/searchbox/searchbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698