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

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

Issue 1039006: Revert r41803 and 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) {
1395 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate(); 1393 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate();
1396 if (view) 1394 if (view)
1397 view->StartDragging(drop_data, drag_operations_mask, image, image_offset); 1395 view->StartDragging(drop_data, drag_operations_mask);
1398 } 1396 }
1399 1397
1400 void RenderViewHost::OnUpdateDragCursor(WebDragOperation current_op) { 1398 void RenderViewHost::OnUpdateDragCursor(WebDragOperation current_op) {
1401 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate(); 1399 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate();
1402 if (view) 1400 if (view)
1403 view->UpdateDragCursor(current_op); 1401 view->UpdateDragCursor(current_op);
1404 } 1402 }
1405 1403
1406 void RenderViewHost::OnTakeFocus(bool reverse) { 1404 void RenderViewHost::OnTakeFocus(bool reverse) {
1407 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate(); 1405 RenderViewHostDelegate::View* view = delegate_->GetViewDelegate();
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1871 integration_delegate->OnPageTranslated(page_id, 1869 integration_delegate->OnPageTranslated(page_id,
1872 original_lang, translated_lang); 1870 original_lang, translated_lang);
1873 } 1871 }
1874 1872
1875 void RenderViewHost::OnContentBlocked(ContentSettingsType type) { 1873 void RenderViewHost::OnContentBlocked(ContentSettingsType type) {
1876 RenderViewHostDelegate::Resource* resource_delegate = 1874 RenderViewHostDelegate::Resource* resource_delegate =
1877 delegate_->GetResourceDelegate(); 1875 delegate_->GetResourceDelegate();
1878 if (resource_delegate) 1876 if (resource_delegate)
1879 resource_delegate->OnContentBlocked(type); 1877 resource_delegate->OnContentBlocked(type);
1880 } 1878 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/browser/renderer_host/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698