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

Side by Side Diff: Source/core/inspector/InspectorClient.h

Issue 900543003: DevTools: do not abuse inspector controller for the front-end side plumbing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed initializer. Created 5 years, 10 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/core/inspector/DevToolsHost.cpp ('k') | Source/core/inspector/InspectorController.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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 10 matching lines...) Expand all
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #ifndef InspectorClient_h 27 #ifndef InspectorClient_h
28 #define InspectorClient_h 28 #define InspectorClient_h
29 29
30 #include "core/inspector/InspectorStateClient.h" 30 #include "core/inspector/InspectorStateClient.h"
31 #include "core/page/ContextMenuProvider.h"
32 #include "wtf/Forward.h" 31 #include "wtf/Forward.h"
33 #include "wtf/PassRefPtr.h" 32 #include "wtf/PassRefPtr.h"
34 33
35 namespace blink { 34 namespace blink {
36 35
37 class PlatformKeyboardEvent; 36 class PlatformKeyboardEvent;
38 class PlatformMouseEvent; 37 class PlatformMouseEvent;
39 38
40 class InspectorClient : public InspectorStateClient { 39 class InspectorClient : public InspectorStateClient {
41 public: 40 public:
(...skipping 22 matching lines...) Expand all
64 virtual void setShowPaintRects(bool) { } 63 virtual void setShowPaintRects(bool) { }
65 virtual void setShowDebugBorders(bool) { } 64 virtual void setShowDebugBorders(bool) { }
66 virtual void setShowFPSCounter(bool) { } 65 virtual void setShowFPSCounter(bool) { }
67 virtual void setContinuousPaintingEnabled(bool) { } 66 virtual void setContinuousPaintingEnabled(bool) { }
68 virtual void setShowScrollBottleneckRects(bool) { } 67 virtual void setShowScrollBottleneckRects(bool) { }
69 68
70 virtual void resetScrollAndPageScaleFactor() { } 69 virtual void resetScrollAndPageScaleFactor() { }
71 virtual float minimumPageScaleFactor() { return 1; } 70 virtual float minimumPageScaleFactor() { return 1; }
72 virtual float maximumPageScaleFactor() { return 1; } 71 virtual float maximumPageScaleFactor() { return 1; }
73 virtual void setPageScaleFactor(float) { } 72 virtual void setPageScaleFactor(float) { }
74 virtual void showContextMenu(float x, float y, PassRefPtrWillBeRawPtr<Contex tMenuProvider>) { }
75 73
76 virtual void dispatchKeyEvent(const PlatformKeyboardEvent&) { } 74 virtual void dispatchKeyEvent(const PlatformKeyboardEvent&) { }
77 virtual void dispatchMouseEvent(const PlatformMouseEvent&) { } 75 virtual void dispatchMouseEvent(const PlatformMouseEvent&) { }
78 76
79 virtual void resumeStartup() { } 77 virtual void resumeStartup() { }
80 78
81 protected: 79 protected:
82 virtual ~InspectorClient() { } 80 virtual ~InspectorClient() { }
83 }; 81 };
84 82
85 } // namespace blink 83 } // namespace blink
86 84
87 #endif // !defined(InspectorClient_h) 85 #endif // !defined(InspectorClient_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/DevToolsHost.cpp ('k') | Source/core/inspector/InspectorController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698