Chromium Code Reviews| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 82 struct WebFloatRect; | 82 struct WebFloatRect; |
| 83 struct WebPoint; | 83 struct WebPoint; |
| 84 struct WebPrintParams; | 84 struct WebPrintParams; |
| 85 struct WebRect; | 85 struct WebRect; |
| 86 struct WebScriptSource; | 86 struct WebScriptSource; |
| 87 struct WebSize; | 87 struct WebSize; |
| 88 struct WebURLLoaderOptions; | 88 struct WebURLLoaderOptions; |
| 89 | 89 |
| 90 template <typename T> class WebVector; | 90 template <typename T> class WebVector; |
| 91 | 91 |
| 92 // Used in detach(). | |
| 93 enum class WebDetachReason { Remove, Swap }; | |
|
dcheng
2015/05/29 22:01:21
I would put this in WebFrameClient, since that's w
| |
| 94 | |
| 92 // Frames may be rendered in process ('local') or out of process ('remote'). | 95 // Frames may be rendered in process ('local') or out of process ('remote'). |
| 93 // A remote frame is always cross-site; a local frame may be either same-site or | 96 // A remote frame is always cross-site; a local frame may be either same-site or |
| 94 // cross-site. | 97 // cross-site. |
| 95 // WebFrame is the base class for both WebLocalFrame and WebRemoteFrame and | 98 // WebFrame is the base class for both WebLocalFrame and WebRemoteFrame and |
| 96 // contains methods that are valid on both local and remote frames, such as | 99 // contains methods that are valid on both local and remote frames, such as |
| 97 // getting a frame's parent or its opener. | 100 // getting a frame's parent or its opener. |
| 98 class WebFrame { | 101 class WebFrame { |
| 99 public: | 102 public: |
| 100 // Control of layoutTreeAsText output | 103 // Control of layoutTreeAsText output |
| 101 enum LayoutAsTextControl { | 104 enum LayoutAsTextControl { |
| (...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 732 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 735 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 733 }; | 736 }; |
| 734 | 737 |
| 735 #if BLINK_IMPLEMENTATION | 738 #if BLINK_IMPLEMENTATION |
| 736 Frame* toCoreFrame(const WebFrame*); | 739 Frame* toCoreFrame(const WebFrame*); |
| 737 #endif | 740 #endif |
| 738 | 741 |
| 739 } // namespace blink | 742 } // namespace blink |
| 740 | 743 |
| 741 #endif | 744 #endif |
| OLD | NEW |