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

Side by Side Diff: chrome/browser/ui/search/instant_ipc_sender.h

Issue 18095002: Merge 208596 "Pipe a bit down to the InstantExtended new tab pag..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1547/src/
Patch Set: Created 7 years, 5 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SEARCH_INSTANT_IPC_SENDER_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_IPC_SENDER_H_
6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_IPC_SENDER_H_ 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_IPC_SENDER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void SetPopupBounds(const gfx::Rect& bounds) {} 55 virtual void SetPopupBounds(const gfx::Rect& bounds) {}
56 56
57 // Tells the page the bounds of the omnibox (in screen coordinates). This is 57 // Tells the page the bounds of the omnibox (in screen coordinates). This is
58 // used by the page to align text or assets properly with the omnibox. 58 // used by the page to align text or assets properly with the omnibox.
59 virtual void SetOmniboxBounds(const gfx::Rect& bounds) {} 59 virtual void SetOmniboxBounds(const gfx::Rect& bounds) {}
60 60
61 // Tells the page about the font information. 61 // Tells the page about the font information.
62 virtual void SetFontInformation(const string16& omnibox_font_name, 62 virtual void SetFontInformation(const string16& omnibox_font_name,
63 size_t omnibox_font_size) {} 63 size_t omnibox_font_size) {}
64 64
65 // Tells the page information it needs to display promos.
66 virtual void SetPromoInformation(bool is_app_launcher_enabled) {}
67
65 // Tells the page about the available autocomplete results. 68 // Tells the page about the available autocomplete results.
66 virtual void SendAutocompleteResults( 69 virtual void SendAutocompleteResults(
67 const std::vector<InstantAutocompleteResult>& results) {} 70 const std::vector<InstantAutocompleteResult>& results) {}
68 71
69 // Tells the page that the user pressed Up or Down in the omnibox. |count| is 72 // Tells the page that the user pressed Up or Down in the omnibox. |count| is
70 // a repeat count, negative for moving up, positive for moving down. 73 // a repeat count, negative for moving up, positive for moving down.
71 virtual void UpOrDownKeyPressed(int count) {} 74 virtual void UpOrDownKeyPressed(int count) {}
72 75
73 // Tells the page that the user pressed Esc key in the omnibox. 76 // Tells the page that the user pressed Esc key in the omnibox.
74 virtual void EscKeyPressed() {} 77 virtual void EscKeyPressed() {}
(...skipping 28 matching lines...) Expand all
103 virtual void ToggleVoiceSearch() {} 106 virtual void ToggleVoiceSearch() {}
104 107
105 protected: 108 protected:
106 InstantIPCSender() {} 109 InstantIPCSender() {}
107 110
108 private: 111 private:
109 DISALLOW_COPY_AND_ASSIGN(InstantIPCSender); 112 DISALLOW_COPY_AND_ASSIGN(InstantIPCSender);
110 }; 113 };
111 114
112 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_IPC_SENDER_H_ 115 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_IPC_SENDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/instant_controller.cc ('k') | chrome/browser/ui/search/instant_ipc_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698