OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
35 #include "../platform/WebPageVisibilityState.h" | 35 #include "../platform/WebPageVisibilityState.h" |
36 #include "public/web/WebWidget.h" | 36 #include "public/web/WebWidget.h" |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 class WebLocalFrame; | 40 class WebLocalFrame; |
41 class WebView; | 41 class WebView; |
42 class WebWidgetClient; | 42 class WebWidgetClient; |
| 43 class WorkerClients; |
43 | 44 |
44 class WebFrameWidget : public WebWidget { | 45 class WebFrameWidget : public WebWidget { |
45 public: | 46 public: |
46 BLINK_EXPORT static WebFrameWidget* create(WebWidgetClient*, WebLocalFrame*)
; | 47 BLINK_EXPORT static WebFrameWidget* create(WebWidgetClient*, WebLocalFrame*)
; |
47 // Creates a frame widget for a WebView. Temporary helper to help transition | 48 // Creates a frame widget for a WebView. Temporary helper to help transition |
48 // away from WebView inheriting WebWidget. | 49 // away from WebView inheriting WebWidget. |
49 // TODO(dcheng): Remove once transition is complete. | 50 // TODO(dcheng): Remove once transition is complete. |
50 BLINK_EXPORT static WebFrameWidget* create(WebWidgetClient*, WebView*, WebLo
calFrame* mainFrame); | 51 BLINK_EXPORT static WebFrameWidget* create(WebWidgetClient*, WebView*, WebLo
calFrame* mainFrame); |
51 | 52 |
52 // Sets the visibility of the WebFrameWidget. | 53 // Sets the visibility of the WebFrameWidget. |
(...skipping 14 matching lines...) Expand all Loading... |
67 // background-color style, this property is effectively ignored). | 68 // background-color style, this property is effectively ignored). |
68 // Setting this takes effect for the currently loaded page, if any, and | 69 // Setting this takes effect for the currently loaded page, if any, and |
69 // persists across subsequent navigations. Defaults to white prior to the | 70 // persists across subsequent navigations. Defaults to white prior to the |
70 // first call to this method. | 71 // first call to this method. |
71 virtual void setBaseBackgroundColor(WebColor) = 0; | 72 virtual void setBaseBackgroundColor(WebColor) = 0; |
72 }; | 73 }; |
73 | 74 |
74 } // namespace blink | 75 } // namespace blink |
75 | 76 |
76 #endif | 77 #endif |
OLD | NEW |