| OLD | NEW |
| 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_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
| 6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "webkit/glue/webview_delegate.h" | 31 #include "webkit/glue/webview_delegate.h" |
| 32 #include "webkit/glue/webview.h" | 32 #include "webkit/glue/webview.h" |
| 33 | 33 |
| 34 // RenderView is a diamond-shaped hierarchy, with WebWidgetDelegate at the root. | 34 // RenderView is a diamond-shaped hierarchy, with WebWidgetDelegate at the root. |
| 35 // VS warns when we inherit the WebWidgetDelegate method implementations from | 35 // VS warns when we inherit the WebWidgetDelegate method implementations from |
| 36 // RenderWidget. It's safe to ignore that warning. | 36 // RenderWidget. It's safe to ignore that warning. |
| 37 #pragma warning(disable: 4250) | 37 #pragma warning(disable: 4250) |
| 38 | 38 |
| 39 class DebugMessageHandler; | 39 class DebugMessageHandler; |
| 40 class GURL; | 40 class GURL; |
| 41 class SharedMemory; | |
| 42 class SkBitmap; | 41 class SkBitmap; |
| 43 struct ThumbnailScore; | 42 struct ThumbnailScore; |
| 44 class WebError; | 43 class WebError; |
| 45 class WebFrame; | 44 class WebFrame; |
| 46 class WebPluginDelegate; | 45 class WebPluginDelegate; |
| 47 class WebPluginDelegateProxy; | 46 class WebPluginDelegateProxy; |
| 48 enum WebRequestCachePolicy; | 47 enum WebRequestCachePolicy; |
| 49 | 48 |
| 50 namespace webkit_glue { | 49 namespace webkit_glue { |
| 51 struct FileUploadData; | 50 struct FileUploadData; |
| 52 } | 51 } |
| 53 | 52 |
| 54 // We need to prevent a page from trying to create infinite popups. It is not | 53 // We need to prevent a page from trying to create infinite popups. It is not |
| 55 // as simple as keeping a count of the number of immediate children | 54 // as simple as keeping a count of the number of immediate children |
| 56 // popups. Having an html file that window.open()s itself would create | 55 // popups. Having an html file that window.open()s itself would create |
| 57 // an unlimited chain of RenderViews who only have one RenderView child. | 56 // an unlimited chain of RenderViews who only have one RenderView child. |
| 58 // | 57 // |
| 59 // Therefore, each new top level RenderView creates a new counter and shares it | 58 // Therefore, each new top level RenderView creates a new counter and shares it |
| 60 // with all its children and grandchildren popup RenderViews created with | 59 // with all its children and grandchildren popup RenderViews created with |
| 61 // CreateWebView() to have a sort of global limit for the page so no more than | 60 // CreateWebView() to have a sort of global limit for the page so no more than |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 | 693 |
| 695 // A cached WebHistoryItem used for back/forward navigations initiated by | 694 // A cached WebHistoryItem used for back/forward navigations initiated by |
| 696 // WebCore (via the window.history.go API). We only have one such navigation | 695 // WebCore (via the window.history.go API). We only have one such navigation |
| 697 // pending at a time. | 696 // pending at a time. |
| 698 scoped_refptr<WebHistoryItem> history_navigation_item_; | 697 scoped_refptr<WebHistoryItem> history_navigation_item_; |
| 699 | 698 |
| 700 DISALLOW_COPY_AND_ASSIGN(RenderView); | 699 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 701 }; | 700 }; |
| 702 | 701 |
| 703 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 702 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |