| 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_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 // Helper function to retrieve information about a plugin for a URL and mime | 292 // Helper function to retrieve information about a plugin for a URL and mime |
| 293 // type. Returns false if no plugin was found. | 293 // type. Returns false if no plugin was found. |
| 294 // |actual_mime_type| is the actual mime type supported by the | 294 // |actual_mime_type| is the actual mime type supported by the |
| 295 // plugin found that match the URL given (one for each item in | 295 // plugin found that match the URL given (one for each item in |
| 296 // |info|). | 296 // |info|). |
| 297 CONTENT_EXPORT bool GetPluginInfo(const GURL& url, | 297 CONTENT_EXPORT bool GetPluginInfo(const GURL& url, |
| 298 const GURL& page_url, | 298 const GURL& page_url, |
| 299 const std::string& mime_type, | 299 const std::string& mime_type, |
| 300 webkit::WebPluginInfo* plugin_info, | 300 webkit::WebPluginInfo* plugin_info, |
| 301 std::string* actual_mime_type); | 301 std::string* actual_mime_type); |
| 302 // Returns true if we are in fullscreen mode. |
| 303 bool IsInFullscreenMode(); |
| 302 | 304 |
| 303 // IPC::Channel::Listener implementation ------------------------------------- | 305 // IPC::Channel::Listener implementation ------------------------------------- |
| 304 | 306 |
| 305 virtual bool OnMessageReceived(const IPC::Message& msg); | 307 virtual bool OnMessageReceived(const IPC::Message& msg); |
| 306 | 308 |
| 307 // WebKit::WebWidgetClient implementation ------------------------------------ | 309 // WebKit::WebWidgetClient implementation ------------------------------------ |
| 308 | 310 |
| 309 // Most methods are handled by RenderWidget. | 311 // Most methods are handled by RenderWidget. |
| 310 virtual void didFocus(); | 312 virtual void didFocus(); |
| 311 virtual void didBlur(); | 313 virtual void didBlur(); |
| (...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1209 // bunch of stuff, you should probably create a helper class and put your | 1211 // bunch of stuff, you should probably create a helper class and put your |
| 1210 // data and methods on that to avoid bloating RenderView more. You can | 1212 // data and methods on that to avoid bloating RenderView more. You can |
| 1211 // use the Observer interface to filter IPC messages and receive frame change | 1213 // use the Observer interface to filter IPC messages and receive frame change |
| 1212 // notifications. | 1214 // notifications. |
| 1213 // --------------------------------------------------------------------------- | 1215 // --------------------------------------------------------------------------- |
| 1214 | 1216 |
| 1215 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1217 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1216 }; | 1218 }; |
| 1217 | 1219 |
| 1218 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1220 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |