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

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 review updates 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 void suppressInvalidations(bool enable); 276 void suppressInvalidations(bool enable);
277 void invalidateRect(const IntRect&); 277 void invalidateRect(const IntRect&);
278 278
279 void setIgnoreInputEvents(bool newValue); 279 void setIgnoreInputEvents(bool newValue);
280 void setBackgroundColorOverride(WebColor); 280 void setBackgroundColorOverride(WebColor);
281 void setZoomFactorOverride(float); 281 void setZoomFactorOverride(float);
282 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get (); } 282 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get (); }
283 283
284 Color baseBackgroundColor() const { return m_baseBackgroundColor; } 284 Color baseBackgroundColor() const { return m_baseBackgroundColor; }
285 285
286 WebColor backgroundColorOverride() const { return m_backgroundColorOverride; }
287
286 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } 288 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); }
287 289
288 void setOverlayLayer(GraphicsLayer*); 290 void setOverlayLayer(GraphicsLayer*);
289 291
290 const WebPoint& lastMouseDownPoint() const 292 const WebPoint& lastMouseDownPoint() const
291 { 293 {
292 return m_lastMouseDownPoint; 294 return m_lastMouseDownPoint;
293 } 295 }
294 296
295 Frame* focusedCoreFrame() const; 297 Frame* focusedCoreFrame() const;
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 float m_topControlsLayoutHeight; 753 float m_topControlsLayoutHeight;
752 }; 754 };
753 755
754 // We have no ways to check if the specified WebView is an instance of 756 // We have no ways to check if the specified WebView is an instance of
755 // WebViewImpl because WebViewImpl is the only implementation of WebView. 757 // WebViewImpl because WebViewImpl is the only implementation of WebView.
756 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 758 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
757 759
758 } // namespace blink 760 } // namespace blink
759 761
760 #endif 762 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698