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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 bool HasCustomPageSizeStyle(int page_index) override; | 221 bool HasCustomPageSizeStyle(int page_index) override; |
222 bool IsPageBoxVisible(int page_index) override; | 222 bool IsPageBoxVisible(int page_index) override; |
223 void PageSizeAndMarginsInPixels(int page_index, | 223 void PageSizeAndMarginsInPixels(int page_index, |
224 WebDoubleSize& page_size, | 224 WebDoubleSize& page_size, |
225 int& margin_top, | 225 int& margin_top, |
226 int& margin_right, | 226 int& margin_right, |
227 int& margin_bottom, | 227 int& margin_bottom, |
228 int& margin_left) override; | 228 int& margin_left) override; |
229 WebString PageProperty(const WebString& property_name, | 229 WebString PageProperty(const WebString& property_name, |
230 int page_index) override; | 230 int page_index) override; |
231 void PrintPagesWithBoundaries(WebCanvas*, const WebSize&) override; | 231 void PrintPagesForTesting(WebCanvas*, const WebSize&) override; |
232 | 232 |
233 void DispatchMessageEventWithOriginCheck( | 233 void DispatchMessageEventWithOriginCheck( |
234 const WebSecurityOrigin& intended_target_origin, | 234 const WebSecurityOrigin& intended_target_origin, |
235 const WebDOMEvent&) override; | 235 const WebDOMEvent&) override; |
236 | 236 |
237 WebRect SelectionBoundsRect() const override; | 237 WebRect GetSelectionBoundsRectForTesting() const override; |
238 | 238 |
239 WebString GetLayerTreeAsTextForTesting( | 239 WebString GetLayerTreeAsTextForTesting( |
240 bool show_debug_info = false) const override; | 240 bool show_debug_info = false) const override; |
241 | 241 |
242 // WebLocalFrame methods: | 242 // WebLocalFrame methods: |
243 WebLocalFrameImpl* CreateLocalChild(WebTreeScopeType, | 243 WebLocalFrameImpl* CreateLocalChild(WebTreeScopeType, |
244 WebFrameClient*, | 244 WebFrameClient*, |
245 blink::InterfaceProvider*, | 245 blink::InterfaceProvider*, |
246 blink::InterfaceRegistry*) override; | 246 blink::InterfaceRegistry*) override; |
247 void SetAutofillClient(WebAutofillClient*) override; | 247 void SetAutofillClient(WebAutofillClient*) override; |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 | 524 |
525 DEFINE_TYPE_CASTS(WebLocalFrameImpl, | 525 DEFINE_TYPE_CASTS(WebLocalFrameImpl, |
526 WebFrame, | 526 WebFrame, |
527 frame, | 527 frame, |
528 frame->IsWebLocalFrame(), | 528 frame->IsWebLocalFrame(), |
529 frame.IsWebLocalFrame()); | 529 frame.IsWebLocalFrame()); |
530 | 530 |
531 } // namespace blink | 531 } // namespace blink |
532 | 532 |
533 #endif | 533 #endif |
OLD | NEW |