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

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

Issue 1037008: Retry r41799:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 autocomplete_delegate->FormFieldValuesSubmitted(form); 1382 autocomplete_delegate->FormFieldValuesSubmitted(form);
1383 1383
1384 RenderViewHostDelegate::AutoFill* autofill_delegate = 1384 RenderViewHostDelegate::AutoFill* autofill_delegate =
1385 delegate_->GetAutoFillDelegate(); 1385 delegate_->GetAutoFillDelegate();
1386 if (autofill_delegate) 1386 if (autofill_delegate)
1387 autofill_delegate->FormFieldValuesSubmitted(form); 1387 autofill_delegate->FormFieldValuesSubmitted(form);
1388 } 1388 }
1389 1389
1390 void RenderViewHost::OnMsgStartDragging( 1390 void RenderViewHost::OnMsgStartDragging(
1391 const WebDropData& drop_data, 1391 const WebDropData& drop_data,
1392 WebDragOperationsMask drag_operations_mask) { 1392 WebDragOperationsMask drag_operations_mask,
1393 const SkBitmap& image,
1394 const gfx::Point& image_offset) {
1393 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate(); 1395 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate();
1394 if (view) 1396 if (view)
1395 view->StartDragging(drop_data, drag_operations_mask); 1397 view->StartDragging(drop_data, drag_operations_mask, image, image_offset);
1396 } 1398 }
1397 1399
1398 void RenderViewHost::OnUpdateDragCursor(WebDragOperation current_op) { 1400 void RenderViewHost::OnUpdateDragCursor(WebDragOperation current_op) {
1399 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate(); 1401 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate();
1400 if (view) 1402 if (view)
1401 view->UpdateDragCursor(current_op); 1403 view->UpdateDragCursor(current_op);
1402 } 1404 }
1403 1405
1404 void RenderViewHost::OnTakeFocus(bool reverse) { 1406 void RenderViewHost::OnTakeFocus(bool reverse) {
1405 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate(); 1407 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate();
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1869 integration_delegate->OnPageTranslated(page_id, 1871 integration_delegate->OnPageTranslated(page_id,
1870 original_lang, translated_lang); 1872 original_lang, translated_lang);
1871 } 1873 }
1872 1874
1873 void RenderViewHost::OnContentBlocked(ContentSettingsType type) { 1875 void RenderViewHost::OnContentBlocked(ContentSettingsType type) {
1874 RenderViewHostDelegate::Resource* resource_delegate = 1876 RenderViewHostDelegate::Resource* resource_delegate =
1875 delegate_->GetResourceDelegate(); 1877 delegate_->GetResourceDelegate();
1876 if (resource_delegate) 1878 if (resource_delegate)
1877 resource_delegate->OnContentBlocked(type); 1879 resource_delegate->OnContentBlocked(type);
1878 } 1880 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698