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

Side by Side Diff: chrome/browser/instant/instant_loader.h

Issue 11359198: Implement the Instant extended API startMargin, endMargin, and rtl properties and the onmarginchang… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build error (PopupChangedBoundsTo -> OnPopupChangedBounds) Created 8 years 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/browser/instant/instant_controller.cc ('k') | chrome/browser/instant/instant_loader.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_BROWSER_INSTANT_INSTANT_LOADER_H_ 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ 6 #define CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // to the history service had this WebContents not been used for Instant. 86 // to the history service had this WebContents not been used for Instant.
87 void DidNavigate(const history::HistoryAddPageArgs& add_page_args); 87 void DidNavigate(const history::HistoryAddPageArgs& add_page_args);
88 88
89 // Calls through to methods of the same name on InstantClient. 89 // Calls through to methods of the same name on InstantClient.
90 void Update(const string16& text, 90 void Update(const string16& text,
91 size_t selection_start, 91 size_t selection_start,
92 size_t selection_end, 92 size_t selection_end,
93 bool verbatim); 93 bool verbatim);
94 void Submit(const string16& text); 94 void Submit(const string16& text);
95 void Cancel(const string16& text); 95 void Cancel(const string16& text);
96 void SetOmniboxBounds(const gfx::Rect& bounds); 96 void SetPopupBounds(const gfx::Rect& bounds);
97 void SetMarginSize(int start, int end);
97 void SendAutocompleteResults( 98 void SendAutocompleteResults(
98 const std::vector<InstantAutocompleteResult>& results); 99 const std::vector<InstantAutocompleteResult>& results);
99 void UpOrDownKeyPressed(int count); 100 void UpOrDownKeyPressed(int count);
100 void SearchModeChanged(const chrome::search::Mode& mode); 101 void SearchModeChanged(const chrome::search::Mode& mode);
101 void SendThemeBackgroundInfo(const ThemeBackgroundInfo& theme_info); 102 void SendThemeBackgroundInfo(const ThemeBackgroundInfo& theme_info);
102 void SendThemeAreaHeight(int height); 103 void SendThemeAreaHeight(int height);
103 void SetDisplayInstantResults(bool display_instant_results); 104 void SetDisplayInstantResults(bool display_instant_results);
104 void KeyCaptureChanged(bool is_key_capture_enabled); 105 void KeyCaptureChanged(bool is_key_capture_enabled);
105 106
106 private: 107 private:
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 bool is_pointer_down_from_activate_; 142 bool is_pointer_down_from_activate_;
142 history::HistoryAddPageArgs last_navigation_; 143 history::HistoryAddPageArgs last_navigation_;
143 144
144 // Used to get notifications about renderers coming and going. 145 // Used to get notifications about renderers coming and going.
145 content::NotificationRegistrar registrar_; 146 content::NotificationRegistrar registrar_;
146 147
147 DISALLOW_COPY_AND_ASSIGN(InstantLoader); 148 DISALLOW_COPY_AND_ASSIGN(InstantLoader);
148 }; 149 };
149 150
150 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ 151 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/instant/instant_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698