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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 638003004: Introduce WebFrameWidget to Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More comments addressed Created 6 years 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 void suppressInvalidations(bool enable); 279 void suppressInvalidations(bool enable);
280 void invalidateRect(const IntRect&); 280 void invalidateRect(const IntRect&);
281 281
282 void setIgnoreInputEvents(bool newValue); 282 void setIgnoreInputEvents(bool newValue);
283 void setBackgroundColorOverride(WebColor); 283 void setBackgroundColorOverride(WebColor);
284 void setZoomFactorOverride(float); 284 void setZoomFactorOverride(float);
285 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get (); } 285 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get (); }
286 286
287 Color baseBackgroundColor() const { return m_baseBackgroundColor; } 287 Color baseBackgroundColor() const { return m_baseBackgroundColor; }
288 288
289 WebColor backgroundColorOverride() const { return m_backgroundColorOverride; }
290
289 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } 291 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); }
290 292
291 void setOverlayLayer(GraphicsLayer*); 293 void setOverlayLayer(GraphicsLayer*);
292 294
293 const WebPoint& lastMouseDownPoint() const 295 const WebPoint& lastMouseDownPoint() const
294 { 296 {
295 return m_lastMouseDownPoint; 297 return m_lastMouseDownPoint;
296 } 298 }
297 299
298 Frame* focusedCoreFrame() const; 300 Frame* focusedCoreFrame() const;
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 }; 757 };
756 758
757 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 759 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
758 // We have no ways to check if the specified WebView is an instance of 760 // We have no ways to check if the specified WebView is an instance of
759 // WebViewImpl because WebViewImpl is the only implementation of WebView. 761 // WebViewImpl because WebViewImpl is the only implementation of WebView.
760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 762 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
761 763
762 } // namespace blink 764 } // namespace blink
763 765
764 #endif 766 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698