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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 28126: Hide the autocomplete popup when the browser window is moved (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/renderer_host/render_view_host.h" 5 #include "chrome/browser/renderer_host/render_view_host.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1259 } 1259 }
1260 1260
1261 void RenderViewHost::AutofillSuggestionsReturned( 1261 void RenderViewHost::AutofillSuggestionsReturned(
1262 const std::vector<std::wstring>& suggestions, 1262 const std::vector<std::wstring>& suggestions,
1263 int64 node_id, int request_id, int default_suggestion_index) { 1263 int64 node_id, int request_id, int default_suggestion_index) {
1264 Send(new ViewMsg_AutofillSuggestions(routing_id(), node_id, 1264 Send(new ViewMsg_AutofillSuggestions(routing_id(), node_id,
1265 request_id, suggestions, -1)); 1265 request_id, suggestions, -1));
1266 // Default index -1 means no default suggestion. 1266 // Default index -1 means no default suggestion.
1267 } 1267 }
1268 1268
1269 void RenderViewHost::WindowMoveOrResizeStarted() {
1270 Send(new ViewMsg_MoveOrResizeStarted(routing_id()));
1271 }
1272
1269 void RenderViewHost::NotifyRendererUnresponsive() { 1273 void RenderViewHost::NotifyRendererUnresponsive() {
1270 // If the debugger is attached, we're going to be unresponsive anytime it's 1274 // If the debugger is attached, we're going to be unresponsive anytime it's
1271 // stopped at a breakpoint. 1275 // stopped at a breakpoint.
1272 if (!debugger_attached_) { 1276 if (!debugger_attached_) {
1273 delegate_->RendererUnresponsive(this, is_waiting_for_unload_ack_); 1277 delegate_->RendererUnresponsive(this, is_waiting_for_unload_ack_);
1274 } 1278 }
1275 } 1279 }
1276 1280
1277 void RenderViewHost::NotifyRendererResponsive() { 1281 void RenderViewHost::NotifyRendererResponsive() {
1278 delegate_->RendererResponsive(this); 1282 delegate_->RendererResponsive(this);
(...skipping 15 matching lines...) Expand all
1294 std::string event_arg) { 1298 std::string event_arg) {
1295 Send(new ViewMsg_PersonalizationEvent(routing_id(), event_name, event_arg)); 1299 Send(new ViewMsg_PersonalizationEvent(routing_id(), event_name, event_arg));
1296 } 1300 }
1297 #endif 1301 #endif
1298 1302
1299 void RenderViewHost::ForwardMessageFromExternalHost( 1303 void RenderViewHost::ForwardMessageFromExternalHost(
1300 const std::string& target, const std::string& message) { 1304 const std::string& target, const std::string& message) {
1301 Send(new ViewMsg_HandleMessageFromExternalHost(routing_id(), target, 1305 Send(new ViewMsg_HandleMessageFromExternalHost(routing_id(), target,
1302 message)); 1306 message));
1303 } 1307 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/browser/tab_contents/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698