Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: third_party/WebKit/public/web/WebFrameWidget.h

Issue 2150443002: Supplement should have a Member to the corresponding Supplementable object (Part 1) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698