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

Side by Side Diff: content/browser/devtools/protocol/page_handler.h

Issue 898433002: DevTools: prepare for deleting scriptPreprocessor parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 27 matching lines...) Expand all
38 void OnSwapCompositorFrame(const cc::CompositorFrameMetadata& frame_metadata); 38 void OnSwapCompositorFrame(const cc::CompositorFrameMetadata& frame_metadata);
39 void OnVisibilityChanged(bool visible); 39 void OnVisibilityChanged(bool visible);
40 void DidAttachInterstitialPage(); 40 void DidAttachInterstitialPage();
41 void DidDetachInterstitialPage(); 41 void DidDetachInterstitialPage();
42 42
43 Response Enable(); 43 Response Enable();
44 Response Disable(); 44 Response Disable();
45 45
46 Response Reload(const bool* ignoreCache, 46 Response Reload(const bool* ignoreCache,
47 const std::string* script_to_evaluate_on_load, 47 const std::string* script_to_evaluate_on_load,
48 const std::string* script_preprocessor); 48 const std::string* script_preprocessor = NULL);
49 49
50 Response Navigate(const std::string& url, FrameId* frame_id); 50 Response Navigate(const std::string& url, FrameId* frame_id);
51 51
52 using NavigationEntries = std::vector<scoped_refptr<NavigationEntry>>; 52 using NavigationEntries = std::vector<scoped_refptr<NavigationEntry>>;
53 Response GetNavigationHistory(int* current_index, 53 Response GetNavigationHistory(int* current_index,
54 NavigationEntries* entries); 54 NavigationEntries* entries);
55 55
56 Response NavigateToHistoryEntry(int entry_id); 56 Response NavigateToHistoryEntry(int entry_id);
57 57
58 Response SetGeolocationOverride(double* latitude, 58 Response SetGeolocationOverride(double* latitude,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 base::WeakPtrFactory<PageHandler> weak_factory_; 138 base::WeakPtrFactory<PageHandler> weak_factory_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(PageHandler); 140 DISALLOW_COPY_AND_ASSIGN(PageHandler);
141 }; 141 };
142 142
143 } // namespace page 143 } // namespace page
144 } // namespace devtools 144 } // namespace devtools
145 } // namespace content 145 } // namespace content
146 146
147 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 147 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698