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

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

Issue 1003243002: [DevTools] Cleanup after reversing emulation flow. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebDevToolsAgentImpl.cpp ('k') | public/web/WebDevToolsAgentClient.h » ('j') | 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) 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 WebDragOperationsMask operationsAllowed, 251 WebDragOperationsMask operationsAllowed,
252 int modifiers) override; 252 int modifiers) override;
253 virtual void dragTargetDragLeave() override; 253 virtual void dragTargetDragLeave() override;
254 virtual void dragTargetDrop( 254 virtual void dragTargetDrop(
255 const WebPoint& clientPoint, 255 const WebPoint& clientPoint,
256 const WebPoint& screenPoint, 256 const WebPoint& screenPoint,
257 int modifiers) override; 257 int modifiers) override;
258 virtual void spellingMarkers(WebVector<uint32_t>* markers) override; 258 virtual void spellingMarkers(WebVector<uint32_t>* markers) override;
259 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor ds) override; 259 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor ds) override;
260 virtual unsigned long createUniqueIdentifierForRequest() override; 260 virtual unsigned long createUniqueIdentifierForRequest() override;
261 virtual void setCompositorDeviceScaleFactorOverride(float) override;
262 virtual void setRootLayerTransform(const WebSize& offset, float scale) overr ide;
263 void enableDeviceEmulation(const WebDeviceEmulationParams&) override; 261 void enableDeviceEmulation(const WebDeviceEmulationParams&) override;
264 void disableDeviceEmulation() override; 262 void disableDeviceEmulation() override;
265 virtual WebDevToolsAgent* devToolsAgent() override; 263 virtual WebDevToolsAgent* devToolsAgent() override;
266 virtual WebAXObject accessibilityObject() override; 264 virtual WebAXObject accessibilityObject() override;
267 virtual void setSelectionColors(unsigned activeBackgroundColor, 265 virtual void setSelectionColors(unsigned activeBackgroundColor,
268 unsigned activeForegroundColor, 266 unsigned activeForegroundColor,
269 unsigned inactiveBackgroundColor, 267 unsigned inactiveBackgroundColor,
270 unsigned inactiveForegroundColor) override; 268 unsigned inactiveForegroundColor) override;
271 virtual void performCustomContextMenuAction(unsigned action) override; 269 virtual void performCustomContextMenuAction(unsigned action) override;
272 virtual void showContextMenu() override; 270 virtual void showContextMenu() override;
(...skipping 21 matching lines...) Expand all
294 float clampPageScaleFactorToLimits(float) const; 292 float clampPageScaleFactorToLimits(float) const;
295 293
296 HitTestResult coreHitTestResultAt(const WebPoint&); 294 HitTestResult coreHitTestResultAt(const WebPoint&);
297 void suppressInvalidations(bool enable); 295 void suppressInvalidations(bool enable);
298 void invalidateRect(const IntRect&); 296 void invalidateRect(const IntRect&);
299 297
300 void setIgnoreInputEvents(bool newValue); 298 void setIgnoreInputEvents(bool newValue);
301 void setBackgroundColorOverride(WebColor); 299 void setBackgroundColorOverride(WebColor);
302 void setZoomFactorOverride(float); 300 void setZoomFactorOverride(float);
303 void updateShowFPSCounterAndContinuousPainting(); 301 void updateShowFPSCounterAndContinuousPainting();
302 void setCompositorDeviceScaleFactorOverride(float);
303 void setRootLayerTransform(const WebSize& offset, float scale);
304 304
305 Color baseBackgroundColor() const { return m_baseBackgroundColor; } 305 Color baseBackgroundColor() const { return m_baseBackgroundColor; }
306 306
307 WebColor backgroundColorOverride() const { return m_backgroundColorOverride; } 307 WebColor backgroundColorOverride() const { return m_backgroundColorOverride; }
308 308
309 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); } 309 PageOverlayList* pageOverlays() const { return m_pageOverlays.get(); }
310 310
311 void setOverlayLayer(GraphicsLayer*); 311 void setOverlayLayer(GraphicsLayer*);
312 312
313 const WebPoint& lastMouseDownPoint() const 313 const WebPoint& lastMouseDownPoint() const
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 }; 790 };
791 791
792 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 792 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
793 // We have no ways to check if the specified WebView is an instance of 793 // We have no ways to check if the specified WebView is an instance of
794 // WebViewImpl because WebViewImpl is the only implementation of WebView. 794 // WebViewImpl because WebViewImpl is the only implementation of WebView.
795 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 795 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
796 796
797 } // namespace blink 797 } // namespace blink
798 798
799 #endif 799 #endif
OLDNEW
« no previous file with comments | « Source/web/WebDevToolsAgentImpl.cpp ('k') | public/web/WebDevToolsAgentClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698