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

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

Issue 3380017: Support additional webkit accessibility notifications and states. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Adding missig file. Created 10 years, 3 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 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 bool fast_shutdown_started() { 141 bool fast_shutdown_started() {
142 return fast_shutdown_started_; 142 return fast_shutdown_started_;
143 } 143 }
144 144
145 // Virtual interface --------------------------------------------------------- 145 // Virtual interface ---------------------------------------------------------
146 146
147 // Initialize the new renderer process, returning true on success. This must 147 // Initialize the new renderer process, returning true on success. This must
148 // be called once before the object can be used, but can be called after 148 // be called once before the object can be used, but can be called after
149 // that with no effect. Therefore, if the caller isn't sure about whether 149 // that with no effect. Therefore, if the caller isn't sure about whether
150 // the process has been created, it should just call Init(). 150 // the process has been created, it should just call Init().
151 virtual bool Init(bool is_extensions_process) = 0; 151 virtual bool Init(
152 bool is_accessibility_enabled, bool is_extensions_process) = 0;
152 153
153 // Gets the next available routing id. 154 // Gets the next available routing id.
154 virtual int GetNextRoutingID() = 0; 155 virtual int GetNextRoutingID() = 0;
155 156
156 // Called on the UI thread to cancel any outstanding resource requests for 157 // Called on the UI thread to cancel any outstanding resource requests for
157 // the specified render widget. 158 // the specified render widget.
158 virtual void CancelResourceRequests(int render_widget_id) = 0; 159 virtual void CancelResourceRequests(int render_widget_id) = 0;
159 160
160 // Called on the UI thread to simulate a ClosePage_ACK message to the 161 // Called on the UI thread to simulate a ClosePage_ACK message to the
161 // ResourceDispatcherHost. Necessary for a cross-site request, in the case 162 // ResourceDispatcherHost. Necessary for a cross-site request, in the case
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 // Factory object for RenderProcessHosts. Using this factory allows tests to 310 // Factory object for RenderProcessHosts. Using this factory allows tests to
310 // swap out a different one to use a TestRenderProcessHost. 311 // swap out a different one to use a TestRenderProcessHost.
311 class RenderProcessHostFactory { 312 class RenderProcessHostFactory {
312 public: 313 public:
313 virtual ~RenderProcessHostFactory() {} 314 virtual ~RenderProcessHostFactory() {}
314 virtual RenderProcessHost* CreateRenderProcessHost( 315 virtual RenderProcessHost* CreateRenderProcessHost(
315 Profile* profile) const = 0; 316 Profile* profile) const = 0;
316 }; 317 };
317 318
318 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ 319 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/mock_render_process_host.cc ('k') | chrome/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698