OLD | NEW |
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/render_view_host.h" | 5 #include "chrome/browser/render_view_host.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
989 delegate_->ProcessExternalHostMessage(receiver, message); | 989 delegate_->ProcessExternalHostMessage(receiver, message); |
990 } | 990 } |
991 | 991 |
992 #ifdef CHROME_PERSONALIZATION | 992 #ifdef CHROME_PERSONALIZATION |
993 void RenderViewHost::OnPersonalizationEvent(const std::string& message, | 993 void RenderViewHost::OnPersonalizationEvent(const std::string& message, |
994 const std::string& content) { | 994 const std::string& content) { |
995 Personalization::HandlePersonalizationEvent(this, message, content); | 995 Personalization::HandlePersonalizationEvent(this, message, content); |
996 } | 996 } |
997 #endif | 997 #endif |
998 | 998 |
| 999 void RenderViewHost::DisassociateFromPopupCount() { |
| 1000 Send(new ViewMsg_DisassociateFromPopupCount(routing_id_)); |
| 1001 } |
| 1002 |
999 void RenderViewHost::OnMsgGoToEntryAtOffset(int offset) { | 1003 void RenderViewHost::OnMsgGoToEntryAtOffset(int offset) { |
1000 delegate_->GoToEntryAtOffset(offset); | 1004 delegate_->GoToEntryAtOffset(offset); |
1001 } | 1005 } |
1002 | 1006 |
1003 void RenderViewHost::OnMsgSetTooltipText(const std::wstring& tooltip_text) { | 1007 void RenderViewHost::OnMsgSetTooltipText(const std::wstring& tooltip_text) { |
1004 if (view_) { | 1008 if (view_) { |
1005 view_->SetTooltipText(tooltip_text); | 1009 view_->SetTooltipText(tooltip_text); |
1006 } | 1010 } |
1007 } | 1011 } |
1008 | 1012 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1198 Send(new ViewMsg_PersonalizationEvent(routing_id_, | 1202 Send(new ViewMsg_PersonalizationEvent(routing_id_, |
1199 event_name, | 1203 event_name, |
1200 event_arg)); | 1204 event_arg)); |
1201 } | 1205 } |
1202 #endif | 1206 #endif |
1203 | 1207 |
1204 void RenderViewHost::ForwardMessageFromExternalHost( | 1208 void RenderViewHost::ForwardMessageFromExternalHost( |
1205 const std::string& target, const std::string& message) { | 1209 const std::string& target, const std::string& message) { |
1206 Send(new ViewMsg_HandleMessageFromExternalHost(routing_id_, target, message)); | 1210 Send(new ViewMsg_HandleMessageFromExternalHost(routing_id_, target, message)); |
1207 } | 1211 } |
1208 | |
OLD | NEW |