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

Side by Side Diff: chrome/renderer/render_view.cc

Issue 3389037: Make the selection start and end attributes of an html input control... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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/renderer/render_view.h" 5 #include "chrome/renderer/render_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 5522 matching lines...) Expand 10 before | Expand all | Expand 10 after
5533 case WebKit::WebAccessibilityNotificationLoadComplete: 5533 case WebKit::WebAccessibilityNotificationLoadComplete:
5534 param.notification_type = 5534 param.notification_type =
5535 ViewHostMsg_AccessibilityNotification_Params:: 5535 ViewHostMsg_AccessibilityNotification_Params::
5536 NOTIFICATION_TYPE_LOAD_COMPLETE; 5536 NOTIFICATION_TYPE_LOAD_COMPLETE;
5537 break; 5537 break;
5538 case WebKit::WebAccessibilityNotificationValueChanged: 5538 case WebKit::WebAccessibilityNotificationValueChanged:
5539 param.notification_type = 5539 param.notification_type =
5540 ViewHostMsg_AccessibilityNotification_Params:: 5540 ViewHostMsg_AccessibilityNotification_Params::
5541 NOTIFICATION_TYPE_VALUE_CHANGED; 5541 NOTIFICATION_TYPE_VALUE_CHANGED;
5542 break; 5542 break;
5543 case WebKit::WebAccessibilityNotificationSelectedTextChanged:
5544 param.notification_type =
5545 ViewHostMsg_AccessibilityNotification_Params::
5546 NOTIFICATION_TYPE_SELECTED_TEXT_CHANGED;
5547 break;
5543 default: 5548 default:
5544 return; 5549 return;
5545 } 5550 }
5546 param.acc_obj = WebAccessibility(obj, accessibility_.get()); 5551 param.acc_obj = WebAccessibility(obj, accessibility_.get());
5547 5552
5548 if (pending_accessibility_notifications_.empty()) { 5553 if (pending_accessibility_notifications_.empty()) {
5549 Send(new ViewHostMsg_AccessibilityNotifications( 5554 Send(new ViewHostMsg_AccessibilityNotifications(
5550 routing_id_, 5555 routing_id_,
5551 pending_accessibility_notifications_)); 5556 pending_accessibility_notifications_));
5552 } 5557 }
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
5849 } 5854 }
5850 5855
5851 void RenderView::OnAsyncFileOpened(base::PlatformFileError error_code, 5856 void RenderView::OnAsyncFileOpened(base::PlatformFileError error_code,
5852 IPC::PlatformFileForTransit file_for_transit, 5857 IPC::PlatformFileForTransit file_for_transit,
5853 int message_id) { 5858 int message_id) {
5854 pepper_delegate_.OnAsyncFileOpened( 5859 pepper_delegate_.OnAsyncFileOpened(
5855 error_code, 5860 error_code,
5856 IPC::PlatformFileForTransitToPlatformFile(file_for_transit), 5861 IPC::PlatformFileForTransitToPlatformFile(file_for_transit),
5857 message_id); 5862 message_id);
5858 } 5863 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698