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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 236813002: Move Mojo channel initialization closer to IPC::Channel setup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more missing deps Created 6 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) 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_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 virtual void CreateImage( 394 virtual void CreateImage(
395 gfx::PluginWindowHandle window, 395 gfx::PluginWindowHandle window,
396 int32 image_id, 396 int32 image_id,
397 const CreateImageCallback& callback) OVERRIDE; 397 const CreateImageCallback& callback) OVERRIDE;
398 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; 398 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE;
399 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( 399 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(
400 size_t width, 400 size_t width,
401 size_t height, 401 size_t height,
402 unsigned internalformat) OVERRIDE; 402 unsigned internalformat) OVERRIDE;
403 403
404 // mojo::ShellClient implementation:
405 virtual void AcceptConnection(
406 const mojo::String& service_name,
407 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE;
408
404 void Init(); 409 void Init();
405 410
406 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 411 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
407 const std::string& host, 412 const std::string& host,
408 double zoom_level); 413 double zoom_level);
409 void OnCreateNewView(const ViewMsg_New_Params& params); 414 void OnCreateNewView(const ViewMsg_New_Params& params);
410 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 415 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
411 void OnPurgePluginListCache(bool reload_pages); 416 void OnPurgePluginListCache(bool reload_pages);
412 void OnNetworkStateChanged(bool online); 417 void OnNetworkStateChanged(bool online);
413 void OnGetAccessibilityTree(); 418 void OnGetAccessibilityTree();
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 bool is_low_res_tiling_enabled_; 546 bool is_low_res_tiling_enabled_;
542 bool is_lcd_text_enabled_; 547 bool is_lcd_text_enabled_;
543 bool is_map_image_enabled_; 548 bool is_map_image_enabled_;
544 549
545 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 550 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
546 }; 551 };
547 552
548 } // namespace content 553 } // namespace content
549 554
550 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 555 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/mojo/mojo_render_process_observer.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698