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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
149 | 149 |
150 // For a WebFrame with contents being rendered in another process, this | 150 // For a WebFrame with contents being rendered in another process, this |
151 // sets a layer for use by the in-process compositor. WebLayer should be | 151 // sets a layer for use by the in-process compositor. WebLayer should be |
152 // null if the content is being rendered in the current process. | 152 // null if the content is being rendered in the current process. |
153 virtual void setRemoteWebLayer(blink::WebLayer*) = 0; | 153 virtual void setRemoteWebLayer(blink::WebLayer*) = 0; |
154 | 154 |
155 // Initializes the various client interfaces. | 155 // Initializes the various client interfaces. |
156 virtual void setPermissionClient(WebPermissionClient*) = 0; | 156 virtual void setPermissionClient(WebPermissionClient*) = 0; |
157 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) = 0; | 157 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) = 0; |
158 | 158 |
159 // The brand color (if any) specified by the document loaded in this frame. | |
160 virtual WebColor brandColor() const = 0; | |
abarth-chromium
2014/06/13 05:40:41
This is a property of the document (as you say in
michaelbai
2014/06/13 15:55:06
I added this method here because
- I saw the simil
| |
159 | 161 |
160 // Geometry ----------------------------------------------------------- | 162 // Geometry ----------------------------------------------------------- |
161 | 163 |
162 // NOTE: These routines do not force page layout so their results may | 164 // NOTE: These routines do not force page layout so their results may |
163 // not be accurate if the page layout is out-of-date. | 165 // not be accurate if the page layout is out-of-date. |
164 | 166 |
165 // If set to false, do not draw scrollbars on this frame's view. | 167 // If set to false, do not draw scrollbars on this frame's view. |
166 virtual void setCanHaveScrollbars(bool) = 0; | 168 virtual void setCanHaveScrollbars(bool) = 0; |
167 | 169 |
168 // The scroll offset from the top-left corner of the frame in pixels. | 170 // The scroll offset from the top-left corner of the frame in pixels. |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
692 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 694 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
693 }; | 695 }; |
694 | 696 |
695 #if BLINK_IMPLEMENTATION | 697 #if BLINK_IMPLEMENTATION |
696 WebCore::Frame* toWebCoreFrame(WebFrame*); | 698 WebCore::Frame* toWebCoreFrame(WebFrame*); |
697 #endif | 699 #endif |
698 | 700 |
699 } // namespace blink | 701 } // namespace blink |
700 | 702 |
701 #endif | 703 #endif |
OLD | NEW |