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

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

Issue 42054: Stop using renderer specific host ids in ResourceDispatcher. This allows it ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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) 2006-2008 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_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <string> 10 #include <string>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // can be safely called from any thread. 80 // can be safely called from any thread.
81 static void BadMessageTerminateProcess(uint16 msg_type, 81 static void BadMessageTerminateProcess(uint16 msg_type,
82 base::ProcessHandle renderer); 82 base::ProcessHandle renderer);
83 83
84 // NotificationObserver implementation. 84 // NotificationObserver implementation.
85 virtual void Observe(NotificationType type, 85 virtual void Observe(NotificationType type,
86 const NotificationSource& source, 86 const NotificationSource& source,
87 const NotificationDetails& details); 87 const NotificationDetails& details);
88 88
89 private: 89 private:
90 // RenderProcessHost implementation (protected portion).
91 virtual void Unregister();
92
93 // Control message handlers. 90 // Control message handlers.
94 void OnPageContents(const GURL& url, int32 page_id, 91 void OnPageContents(const GURL& url, int32 page_id,
95 const std::wstring& contents); 92 const std::wstring& contents);
96 // Clipboard messages 93 // Clipboard messages
97 void OnClipboardWriteHTML(const std::wstring& markup, const GURL& src_url); 94 void OnClipboardWriteHTML(const std::wstring& markup, const GURL& src_url);
98 void OnClipboardWriteBookmark(const std::wstring& title, const GURL& url); 95 void OnClipboardWriteBookmark(const std::wstring& title, const GURL& url);
99 void OnClipboardWriteBitmap(base::SharedMemoryHandle bitmap, gfx::Size size); 96 void OnClipboardWriteBitmap(base::SharedMemoryHandle bitmap, gfx::Size size);
100 void OnClipboardIsFormatAvailable(unsigned int format, bool* result); 97 void OnClipboardIsFormatAvailable(unsigned int format, bool* result);
101 void OnClipboardReadText(string16* result); 98 void OnClipboardReadText(string16* result);
102 void OnClipboardReadAsciiText(std::string* result); 99 void OnClipboardReadAsciiText(std::string* result);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // This is used to clear our cache five seconds after the last use. 154 // This is used to clear our cache five seconds after the last use.
158 base::DelayTimer<BrowserRenderProcessHost> cached_dibs_cleaner_; 155 base::DelayTimer<BrowserRenderProcessHost> cached_dibs_cleaner_;
159 156
160 // Used in single-process mode. 157 // Used in single-process mode.
161 scoped_ptr<RendererMainThread> in_process_renderer_; 158 scoped_ptr<RendererMainThread> in_process_renderer_;
162 159
163 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); 160 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost);
164 }; 161 };
165 162
166 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 163 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/async_resource_handler.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698