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

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

Issue 115374: Adds propagation and handling of render-side focus events, for the benefit of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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) 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 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 void OnQueryFormFieldAutofill(const std::wstring& field_name, 543 void OnQueryFormFieldAutofill(const std::wstring& field_name,
544 const std::wstring& user_text, 544 const std::wstring& user_text,
545 int64 node_id, 545 int64 node_id,
546 int request_id); 546 int request_id);
547 void OnRemoveAutofillEntry(const std::wstring& field_name, 547 void OnRemoveAutofillEntry(const std::wstring& field_name,
548 const std::wstring& value); 548 const std::wstring& value);
549 549
550 void OnExtensionRequest(const std::string& name, const std::string& args, 550 void OnExtensionRequest(const std::string& name, const std::string& args,
551 int request_id, bool has_callback); 551 int request_id, bool has_callback);
552 void OnExtensionPostMessage(int port_id, const std::string& message); 552 void OnExtensionPostMessage(int port_id, const std::string& message);
553 void OnAccessibilityFocusChange(int acc_obj_id);
553 554
554 // Helper function to send a navigation message. If a cross-site request is 555 // Helper function to send a navigation message. If a cross-site request is
555 // in progress, we may be suspended while waiting for the onbeforeunload 556 // in progress, we may be suspended while waiting for the onbeforeunload
556 // handler, so this function might buffer the message rather than sending it. 557 // handler, so this function might buffer the message rather than sending it.
557 // 558 //
558 // The URL parameter should match the one in the message. It's provided so 559 // The URL parameter should match the one in the message. It's provided so
559 // that we don't have to decode the message to check it. 560 // that we don't have to decode the message to check it.
560 void DoNavigate(const GURL& url, ViewMsg_Navigate* nav_message); 561 void DoNavigate(const GURL& url, ViewMsg_Navigate* nav_message);
561 562
562 private: 563 private:
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 // not an extension. 627 // not an extension.
627 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 628 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
628 629
629 // True if the render view can be shut down suddenly. 630 // True if the render view can be shut down suddenly.
630 bool sudden_termination_allowed_; 631 bool sudden_termination_allowed_;
631 632
632 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 633 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
633 }; 634 };
634 635
635 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 636 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698