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

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

Issue 62129: Find should allow keyboard scrolling while Find bar has focus (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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) 2006-2008 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 "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 } 631 }
632 632
633 bool RenderViewHost::CanBlur() const { 633 bool RenderViewHost::CanBlur() const {
634 return delegate_->CanBlur(); 634 return delegate_->CanBlur();
635 } 635 }
636 636
637 void RenderViewHost::SetInitialFocus(bool reverse) { 637 void RenderViewHost::SetInitialFocus(bool reverse) {
638 Send(new ViewMsg_SetInitialFocus(routing_id(), reverse)); 638 Send(new ViewMsg_SetInitialFocus(routing_id(), reverse));
639 } 639 }
640 640
641 void RenderViewHost::ClearFocusedNode() {
642 Send(new ViewMsg_ClearFocusedNode(routing_id()));
643 }
644
641 void RenderViewHost::UpdateWebPreferences(const WebPreferences& prefs) { 645 void RenderViewHost::UpdateWebPreferences(const WebPreferences& prefs) {
642 Send(new ViewMsg_UpdateWebPreferences(routing_id(), prefs)); 646 Send(new ViewMsg_UpdateWebPreferences(routing_id(), prefs));
643 } 647 }
644 648
645 void RenderViewHost::InstallMissingPlugin() { 649 void RenderViewHost::InstallMissingPlugin() {
646 Send(new ViewMsg_InstallMissingPlugin(routing_id())); 650 Send(new ViewMsg_InstallMissingPlugin(routing_id()));
647 } 651 }
648 652
649 void RenderViewHost::FileSelected(const FilePath& path) { 653 void RenderViewHost::FileSelected(const FilePath& path) {
650 RendererSecurityPolicy::GetInstance()->GrantUploadFile(process()->pid(), 654 RendererSecurityPolicy::GetInstance()->GrantUploadFile(process()->pid(),
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 int callback_id) { 1396 int callback_id) {
1393 // TODO(aa): Here is where we can check that this renderer was supposed to be 1397 // TODO(aa): Here is where we can check that this renderer was supposed to be
1394 // able to call extension APIs. 1398 // able to call extension APIs.
1395 extension_function_dispatcher_.HandleRequest(name, args, callback_id); 1399 extension_function_dispatcher_.HandleRequest(name, args, callback_id);
1396 } 1400 }
1397 1401
1398 void RenderViewHost::SendExtensionResponse(int callback_id, 1402 void RenderViewHost::SendExtensionResponse(int callback_id,
1399 const std::string& response) { 1403 const std::string& response) {
1400 Send(new ViewMsg_ExtensionResponse(routing_id(), callback_id, response)); 1404 Send(new ViewMsg_ExtensionResponse(routing_id(), callback_id, response));
1401 } 1405 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698