OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_VIEW_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 // plugin found that match the URL given (one for each item in | 344 // plugin found that match the URL given (one for each item in |
345 // |info|). | 345 // |info|). |
346 CONTENT_EXPORT bool GetPluginInfo(const GURL& url, | 346 CONTENT_EXPORT bool GetPluginInfo(const GURL& url, |
347 const GURL& page_url, | 347 const GURL& page_url, |
348 const std::string& mime_type, | 348 const std::string& mime_type, |
349 webkit::WebPluginInfo* plugin_info, | 349 webkit::WebPluginInfo* plugin_info, |
350 std::string* actual_mime_type); | 350 std::string* actual_mime_type); |
351 | 351 |
352 // Asks the host to create a block of shared memory for the renderer. | 352 // Asks the host to create a block of shared memory for the renderer. |
353 // The shared memory handle allocated by the host is returned back. | 353 // The shared memory handle allocated by the host is returned back. |
354 base::SharedMemoryHandle HostAllocateSharedMemoryBuffer(uint32 buffer_size); | 354 CONTENT_EXPORT base::SharedMemoryHandle HostAllocateSharedMemoryBuffer( |
| 355 uint32 buffer_size); |
355 | 356 |
356 // IPC::Channel::Listener implementation ------------------------------------- | 357 // IPC::Channel::Listener implementation ------------------------------------- |
357 | 358 |
358 virtual bool OnMessageReceived(const IPC::Message& msg); | 359 virtual bool OnMessageReceived(const IPC::Message& msg); |
359 | 360 |
360 // WebKit::WebWidgetClient implementation ------------------------------------ | 361 // WebKit::WebWidgetClient implementation ------------------------------------ |
361 | 362 |
362 // Most methods are handled by RenderWidget. | 363 // Most methods are handled by RenderWidget. |
363 virtual void didFocus(); | 364 virtual void didFocus(); |
364 virtual void didBlur(); | 365 virtual void didBlur(); |
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 // bunch of stuff, you should probably create a helper class and put your | 1228 // bunch of stuff, you should probably create a helper class and put your |
1228 // data and methods on that to avoid bloating RenderView more. You can use | 1229 // data and methods on that to avoid bloating RenderView more. You can use |
1229 // the Observer interface to filter IPC messages and receive frame change | 1230 // the Observer interface to filter IPC messages and receive frame change |
1230 // notifications. | 1231 // notifications. |
1231 // --------------------------------------------------------------------------- | 1232 // --------------------------------------------------------------------------- |
1232 | 1233 |
1233 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1234 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1234 }; | 1235 }; |
1235 | 1236 |
1236 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1237 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |