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

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

Issue 11466007: Add new IPC for searchbox to pipe SearchBox NavigateContentWindow calls to the browser. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing Samarth's comments. 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
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // Overridden from InstantClient::Delegate: 108 // Overridden from InstantClient::Delegate:
109 virtual void SetSuggestions( 109 virtual void SetSuggestions(
110 const std::vector<InstantSuggestion>& suggestions) OVERRIDE; 110 const std::vector<InstantSuggestion>& suggestions) OVERRIDE;
111 virtual void InstantSupportDetermined(bool supports_instant) OVERRIDE; 111 virtual void InstantSupportDetermined(bool supports_instant) OVERRIDE;
112 virtual void ShowInstantPreview(InstantShownReason reason, 112 virtual void ShowInstantPreview(InstantShownReason reason,
113 int height, 113 int height,
114 InstantSizeUnits units) OVERRIDE; 114 InstantSizeUnits units) OVERRIDE;
115 virtual void StartCapturingKeyStrokes() OVERRIDE; 115 virtual void StartCapturingKeyStrokes() OVERRIDE;
116 virtual void StopCapturingKeyStrokes() OVERRIDE; 116 virtual void StopCapturingKeyStrokes() OVERRIDE;
117 virtual void RenderViewGone() OVERRIDE; 117 virtual void RenderViewGone() OVERRIDE;
118 virtual void NavigateToURL(const GURL& url) OVERRIDE;
118 119
119 // Overridden from content::NotificationObserver: 120 // Overridden from content::NotificationObserver:
120 virtual void Observe(int type, 121 virtual void Observe(int type,
121 const content::NotificationSource& source, 122 const content::NotificationSource& source,
122 const content::NotificationDetails& details) OVERRIDE; 123 const content::NotificationDetails& details) OVERRIDE;
123 124
124 void SetupPreviewContents(); 125 void SetupPreviewContents();
125 void CleanupPreviewContents(); 126 void CleanupPreviewContents();
126 void ReplacePreviewContents(content::WebContents* old_contents, 127 void ReplacePreviewContents(content::WebContents* old_contents,
127 content::WebContents* new_contents); 128 content::WebContents* new_contents);
(...skipping 11 matching lines...) Expand all
139 bool is_pointer_down_from_activate_; 140 bool is_pointer_down_from_activate_;
140 history::HistoryAddPageArgs last_navigation_; 141 history::HistoryAddPageArgs last_navigation_;
141 142
142 // Used to get notifications about renderers coming and going. 143 // Used to get notifications about renderers coming and going.
143 content::NotificationRegistrar registrar_; 144 content::NotificationRegistrar registrar_;
144 145
145 DISALLOW_COPY_AND_ASSIGN(InstantLoader); 146 DISALLOW_COPY_AND_ASSIGN(InstantLoader);
146 }; 147 };
147 148
148 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ 149 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698