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

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

Issue 1022773002: Oilpan: tidy up finalization of InspectorEmulationAgent following r192106. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « no previous file | Source/web/InspectorEmulationAgent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef InspectorEmulationAgent_h 5 #ifndef InspectorEmulationAgent_h
6 #define InspectorEmulationAgent_h 6 #define InspectorEmulationAgent_h
7 7
8 #include "core/InspectorFrontend.h" 8 #include "core/InspectorFrontend.h"
9 #include "core/inspector/InspectorBaseAgent.h" 9 #include "core/inspector/InspectorBaseAgent.h"
10 10
(...skipping 14 matching lines...) Expand all
25 // InspectorBackendDispatcher::EmulationCommandHandler implementation. 25 // InspectorBackendDispatcher::EmulationCommandHandler implementation.
26 void resetScrollAndPageScaleFactor(ErrorString*) override; 26 void resetScrollAndPageScaleFactor(ErrorString*) override;
27 void setPageScaleFactor(ErrorString*, double pageScaleFactor) override; 27 void setPageScaleFactor(ErrorString*, double pageScaleFactor) override;
28 void setScriptExecutionDisabled(ErrorString*, bool) override; 28 void setScriptExecutionDisabled(ErrorString*, bool) override;
29 void setTouchEmulationEnabled(ErrorString*, bool enabled, const String* conf iguration) override; 29 void setTouchEmulationEnabled(ErrorString*, bool enabled, const String* conf iguration) override;
30 void setEmulatedMedia(ErrorString*, const String&) override; 30 void setEmulatedMedia(ErrorString*, const String&) override;
31 31
32 // InspectorBaseAgent overrides. 32 // InspectorBaseAgent overrides.
33 void disable(ErrorString*) override; 33 void disable(ErrorString*) override;
34 void restore() override; 34 void restore() override;
35 void discardAgent() override;
35 void didCommitLoadForLocalFrame(LocalFrame*) override; 36 void didCommitLoadForLocalFrame(LocalFrame*) override;
36 37
37 DECLARE_VIRTUAL_TRACE(); 38 DECLARE_VIRTUAL_TRACE();
38 39
39 private: 40 private:
40 explicit InspectorEmulationAgent(WebViewImpl*); 41 explicit InspectorEmulationAgent(WebViewImpl*);
41 42
42 WebViewImpl* m_webViewImpl; 43 WebViewImpl* m_webViewImpl;
43 }; 44 };
44 45
45 46
46 } // namespace blink 47 } // namespace blink
47 48
48 49
49 #endif // !defined(InspectorEmulationAgent_h) 50 #endif // !defined(InspectorEmulationAgent_h)
OLDNEW
« no previous file with comments | « no previous file | Source/web/InspectorEmulationAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698