OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "../public/WebFrame.h" | 35 #include "../public/WebFrame.h" |
36 #include "Frame.h" | 36 #include "Frame.h" |
37 #include "FrameLoaderClientImpl.h" | 37 #include "FrameLoaderClientImpl.h" |
38 #include "PlatformString.h" | 38 #include "PlatformString.h" |
39 #include <wtf/OwnPtr.h> | 39 #include <wtf/OwnPtr.h> |
40 #include <wtf/RefCounted.h> | 40 #include <wtf/RefCounted.h> |
41 | 41 |
42 #include "WebAnimationControllerImpl.h" | 42 #include "WebAnimationControllerImpl.h" |
43 | 43 |
44 namespace WebCore { | 44 namespace WebCore { |
| 45 class GraphicsContext; |
45 class HistoryItem; | 46 class HistoryItem; |
46 class KURL; | 47 class KURL; |
47 class Node; | 48 class Node; |
48 class Range; | 49 class Range; |
49 class SubstituteData; | 50 class SubstituteData; |
50 struct WindowFeatures; | 51 struct WindowFeatures; |
51 } | 52 } |
52 | 53 |
53 namespace WebKit { | 54 namespace WebKit { |
54 class ChromePrintContext; | 55 class ChromePrintContext; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 ~WebFrameImpl(); | 174 ~WebFrameImpl(); |
174 | 175 |
175 // Called by the WebViewImpl to initialize its main frame: | 176 // Called by the WebViewImpl to initialize its main frame: |
176 void initializeAsMainFrame(WebViewImpl*); | 177 void initializeAsMainFrame(WebViewImpl*); |
177 | 178 |
178 PassRefPtr<WebCore::Frame> createChildFrame( | 179 PassRefPtr<WebCore::Frame> createChildFrame( |
179 const WebCore::FrameLoadRequest&, WebCore::HTMLFrameOwnerElement*); | 180 const WebCore::FrameLoadRequest&, WebCore::HTMLFrameOwnerElement*); |
180 | 181 |
181 void layout(); | 182 void layout(); |
182 void paint(WebCanvas*, const WebRect&); | 183 void paint(WebCanvas*, const WebRect&); |
| 184 void paintWithContext(WebCore::GraphicsContext&, const WebRect&); |
183 void createFrameView(); | 185 void createFrameView(); |
184 | 186 |
185 static WebFrameImpl* fromFrame(WebCore::Frame* frame); | 187 static WebFrameImpl* fromFrame(WebCore::Frame* frame); |
186 static WebFrameImpl* fromFrameOwnerElement(WebCore::Element* element); | 188 static WebFrameImpl* fromFrameOwnerElement(WebCore::Element* element); |
187 | 189 |
188 WebViewImpl* viewImpl() const; | 190 WebViewImpl* viewImpl() const; |
189 | 191 |
190 WebCore::Frame* frame() const { return m_frame; } | 192 WebCore::Frame* frame() const { return m_frame; } |
191 WebCore::FrameView* frameView() const { return m_frame ? m_frame->view() : 0
; } | 193 WebCore::FrameView* frameView() const { return m_frame ? m_frame->view() : 0
; } |
192 | 194 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 WebPasswordAutocompleteListener*> PasswordListenerMap; | 360 WebPasswordAutocompleteListener*> PasswordListenerMap; |
359 PasswordListenerMap m_passwordListeners; | 361 PasswordListenerMap m_passwordListeners; |
360 | 362 |
361 // Keeps a reference to the frame's WebAnimationController. | 363 // Keeps a reference to the frame's WebAnimationController. |
362 WebAnimationControllerImpl m_animationController; | 364 WebAnimationControllerImpl m_animationController; |
363 }; | 365 }; |
364 | 366 |
365 } // namespace WebKit | 367 } // namespace WebKit |
366 | 368 |
367 #endif | 369 #endif |
OLD | NEW |