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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 10941015: [Android] Upstream the WebView find-in-page API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixes. Created 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
11 11
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/process.h" 13 #include "base/process.h"
14 #include "base/synchronization/waitable_event.h"
14 #include "base/timer.h" 15 #include "base/timer.h"
15 #include "content/browser/child_process_launcher.h" 16 #include "content/browser/child_process_launcher.h"
16 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
17 #include "content/public/browser/render_process_host.h" 18 #include "content/public/browser/render_process_host.h"
18 #include "ipc/ipc_channel_proxy.h" 19 #include "ipc/ipc_channel_proxy.h"
19 #include "ui/surface/transport_dib.h" 20 #include "ui/surface/transport_dib.h"
20 21
21 class CommandLine; 22 class CommandLine;
22 23
23 namespace gfx { 24 namespace gfx {
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 // the same process doesn't. 287 // the same process doesn't.
287 bool sudden_termination_allowed_; 288 bool sudden_termination_allowed_;
288 289
289 // Set to true if we shouldn't send input events. We actually do the 290 // Set to true if we shouldn't send input events. We actually do the
290 // filtering for this at the render widget level. 291 // filtering for this at the render widget level.
291 bool ignore_input_events_; 292 bool ignore_input_events_;
292 293
293 // Records the last time we regarded the child process active. 294 // Records the last time we regarded the child process active.
294 base::TimeTicks child_process_activity_time_; 295 base::TimeTicks child_process_activity_time_;
295 296
297 #if defined(OS_ANDROID)
298 // Android WebView needs to use a SyncChannel to block the browser process
299 // for synchronous find-in-page API support. In that case the shutdown event
300 // makes no sense as the Android port doesn't shutdown, but gets killed.
301 // SyncChannel still expects a shutdown event, so create a dummy one that
302 // will never will be signaled.
303 base::WaitableEvent dummy_shutdown_event_;
304 #endif
305
296 // Indicates whether this is a RenderProcessHost of a Browser Plugin guest 306 // Indicates whether this is a RenderProcessHost of a Browser Plugin guest
297 // renderer. 307 // renderer.
298 bool is_guest_; 308 bool is_guest_;
299 309
300 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 310 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
301 }; 311 };
302 312
303 } // namespace content 313 } // namespace content
304 314
305 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 315 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « android_webview/native/cookie_manager.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698