| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
| (...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 983 Send(new ViewMsg_UpdateTargetURL_ACK(routing_id())); | 983 Send(new ViewMsg_UpdateTargetURL_ACK(routing_id())); |
| 984 } | 984 } |
| 985 | 985 |
| 986 void RenderViewHost::OnMsgThumbnail(const GURL& url, | 986 void RenderViewHost::OnMsgThumbnail(const GURL& url, |
| 987 const ThumbnailScore& score, | 987 const ThumbnailScore& score, |
| 988 const SkBitmap& bitmap) { | 988 const SkBitmap& bitmap) { |
| 989 delegate_->UpdateThumbnail(url, bitmap, score); | 989 delegate_->UpdateThumbnail(url, bitmap, score); |
| 990 } | 990 } |
| 991 | 991 |
| 992 void RenderViewHost::OnUpdateInspectorSettings( | 992 void RenderViewHost::OnUpdateInspectorSettings( |
| 993 const std::wstring& raw_settings) { | 993 const std::string& raw_settings) { |
| 994 delegate_->UpdateInspectorSettings(raw_settings); | 994 delegate_->UpdateInspectorSettings(raw_settings); |
| 995 } | 995 } |
| 996 | 996 |
| 997 void RenderViewHost::OnMsgClose() { | 997 void RenderViewHost::OnMsgClose() { |
| 998 delegate_->Close(this); | 998 delegate_->Close(this); |
| 999 } | 999 } |
| 1000 | 1000 |
| 1001 void RenderViewHost::OnMsgRequestMove(const gfx::Rect& pos) { | 1001 void RenderViewHost::OnMsgRequestMove(const gfx::Rect& pos) { |
| 1002 delegate_->RequestMove(pos); | 1002 delegate_->RequestMove(pos); |
| 1003 Send(new ViewMsg_Move_ACK(routing_id())); | 1003 Send(new ViewMsg_Move_ACK(routing_id())); |
| (...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1685 #endif | 1685 #endif |
| 1686 } | 1686 } |
| 1687 | 1687 |
| 1688 void RenderViewHost::OnCSSInserted() { | 1688 void RenderViewHost::OnCSSInserted() { |
| 1689 delegate_->DidInsertCSS(); | 1689 delegate_->DidInsertCSS(); |
| 1690 } | 1690 } |
| 1691 | 1691 |
| 1692 void RenderViewHost::UpdateBrowserWindowId(int window_id) { | 1692 void RenderViewHost::UpdateBrowserWindowId(int window_id) { |
| 1693 Send(new ViewMsg_UpdateBrowserWindowId(routing_id(), window_id)); | 1693 Send(new ViewMsg_UpdateBrowserWindowId(routing_id(), window_id)); |
| 1694 } | 1694 } |
| OLD | NEW |