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

Side by Side Diff: Source/WebKit/chromium/src/WebViewImpl.h

Issue 16298005: Remove Battery Status API support code from Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 class PopupMenuClient; 82 class PopupMenuClient;
83 class Range; 83 class Range;
84 class RenderTheme; 84 class RenderTheme;
85 class TextFieldDecorator; 85 class TextFieldDecorator;
86 class Widget; 86 class Widget;
87 } 87 }
88 88
89 namespace WebKit { 89 namespace WebKit {
90 class AutocompletePopupMenuClient; 90 class AutocompletePopupMenuClient;
91 class AutofillPopupMenuClient; 91 class AutofillPopupMenuClient;
92 class BatteryClientImpl;
93 class ContextFeaturesClientImpl; 92 class ContextFeaturesClientImpl;
94 class ContextMenuClientImpl; 93 class ContextMenuClientImpl;
95 class DeviceOrientationClientProxy; 94 class DeviceOrientationClientProxy;
96 class GeolocationClientProxy; 95 class GeolocationClientProxy;
97 class LinkHighlight; 96 class LinkHighlight;
98 class PrerendererClientImpl; 97 class PrerendererClientImpl;
99 class SpeechInputClientImpl; 98 class SpeechInputClientImpl;
100 class SpeechRecognitionClientProxy; 99 class SpeechRecognitionClientProxy;
101 class UserMediaClientImpl; 100 class UserMediaClientImpl;
102 class ValidationMessageClientImpl; 101 class ValidationMessageClientImpl;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 unsigned activeColor, 299 unsigned activeColor,
301 unsigned trackColor); 300 unsigned trackColor);
302 virtual void setSelectionColors(unsigned activeBackgroundColor, 301 virtual void setSelectionColors(unsigned activeBackgroundColor,
303 unsigned activeForegroundColor, 302 unsigned activeForegroundColor,
304 unsigned inactiveBackgroundColor, 303 unsigned inactiveBackgroundColor,
305 unsigned inactiveForegroundColor); 304 unsigned inactiveForegroundColor);
306 virtual void performCustomContextMenuAction(unsigned action); 305 virtual void performCustomContextMenuAction(unsigned action);
307 virtual void showContextMenu(); 306 virtual void showContextMenu();
308 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */); 307 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */);
309 virtual void removePageOverlay(WebPageOverlay*); 308 virtual void removePageOverlay(WebPageOverlay*);
310 #if ENABLE(BATTERY_STATUS)
311 virtual void updateBatteryStatus(const WebBatteryStatus&);
312 #endif
313 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&); 309 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&);
314 virtual WebViewBenchmarkSupport* benchmarkSupport(); 310 virtual WebViewBenchmarkSupport* benchmarkSupport();
315 virtual void setShowPaintRects(bool); 311 virtual void setShowPaintRects(bool);
316 virtual void setShowDebugBorders(bool); 312 virtual void setShowDebugBorders(bool);
317 virtual void setShowFPSCounter(bool); 313 virtual void setShowFPSCounter(bool);
318 virtual void setContinuousPaintingEnabled(bool); 314 virtual void setContinuousPaintingEnabled(bool);
319 315
320 // WebViewImpl 316 // WebViewImpl
321 317
322 void suppressInvalidations(bool enable); 318 void suppressInvalidations(bool enable);
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 bool m_recreatingGraphicsContext; 813 bool m_recreatingGraphicsContext;
818 static const WebInputEvent* m_currentInputEvent; 814 static const WebInputEvent* m_currentInputEvent;
819 815
820 #if ENABLE(INPUT_SPEECH) 816 #if ENABLE(INPUT_SPEECH)
821 OwnPtr<SpeechInputClientImpl> m_speechInputClient; 817 OwnPtr<SpeechInputClientImpl> m_speechInputClient;
822 #endif 818 #endif
823 OwnPtr<SpeechRecognitionClientProxy> m_speechRecognitionClient; 819 OwnPtr<SpeechRecognitionClientProxy> m_speechRecognitionClient;
824 820
825 OwnPtr<DeviceOrientationClientProxy> m_deviceOrientationClientProxy; 821 OwnPtr<DeviceOrientationClientProxy> m_deviceOrientationClientProxy;
826 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; 822 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
827 #if ENABLE(BATTERY_STATUS)
828 OwnPtr<BatteryClientImpl> m_batteryClient;
829 #endif
830 823
831 float m_emulatedTextZoomFactor; 824 float m_emulatedTextZoomFactor;
832 825
833 UserMediaClientImpl m_userMediaClientImpl; 826 UserMediaClientImpl m_userMediaClientImpl;
834 #if ENABLE(NAVIGATOR_CONTENT_UTILS) 827 #if ENABLE(NAVIGATOR_CONTENT_UTILS)
835 OwnPtr<NavigatorContentUtilsClientImpl> m_navigatorContentUtilsClient; 828 OwnPtr<NavigatorContentUtilsClientImpl> m_navigatorContentUtilsClient;
836 #endif 829 #endif
837 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; 830 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation;
838 WebPoint m_positionOnFlingStart; 831 WebPoint m_positionOnFlingStart;
839 WebPoint m_globalPositionOnFlingStart; 832 WebPoint m_globalPositionOnFlingStart;
840 int m_flingModifier; 833 int m_flingModifier;
841 bool m_flingSourceDevice; 834 bool m_flingSourceDevice;
842 OwnPtr<LinkHighlight> m_linkHighlight; 835 OwnPtr<LinkHighlight> m_linkHighlight;
843 OwnPtr<ValidationMessageClientImpl> m_validationMessage; 836 OwnPtr<ValidationMessageClientImpl> m_validationMessage;
844 837
845 bool m_showFPSCounter; 838 bool m_showFPSCounter;
846 bool m_showPaintRects; 839 bool m_showPaintRects;
847 bool m_showDebugBorders; 840 bool m_showDebugBorders;
848 bool m_continuousPaintingEnabled; 841 bool m_continuousPaintingEnabled;
849 }; 842 };
850 843
851 } // namespace WebKit 844 } // namespace WebKit
852 845
853 #endif 846 #endif
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/BatteryClientImpl.cpp ('k') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698