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

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

Issue 642263004: [DevTools] Make generated protocol structs wrappers around DictionaryValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 30 matching lines...) Expand all
41 Response Enable(); 41 Response Enable();
42 Response Disable(); 42 Response Disable();
43 43
44 Response Reload(const bool* ignoreCache, 44 Response Reload(const bool* ignoreCache,
45 const std::string* script_to_evaluate_on_load, 45 const std::string* script_to_evaluate_on_load,
46 const std::string* script_preprocessor); 46 const std::string* script_preprocessor);
47 47
48 Response Navigate(const std::string& url, FrameId* frame_id); 48 Response Navigate(const std::string& url, FrameId* frame_id);
49 49
50 Response GetNavigationHistory(int* current_index, 50 Response GetNavigationHistory(int* current_index,
51 std::vector<NavigationEntry>* entries); 51 ListBuilder<NavigationEntry>* entries);
52 52
53 Response NavigateToHistoryEntry(int entry_id); 53 Response NavigateToHistoryEntry(int entry_id);
54 54
55 Response SetGeolocationOverride(double* latitude, 55 Response SetGeolocationOverride(double* latitude,
56 double* longitude, 56 double* longitude,
57 double* accuracy); 57 double* accuracy);
58 58
59 Response ClearGeolocationOverride(); 59 Response ClearGeolocationOverride();
60 60
61 Response SetTouchEmulationEnabled(bool enabled); 61 Response SetTouchEmulationEnabled(bool enabled);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 base::WeakPtrFactory<PageHandler> weak_factory_; 123 base::WeakPtrFactory<PageHandler> weak_factory_;
124 124
125 DISALLOW_COPY_AND_ASSIGN(PageHandler); 125 DISALLOW_COPY_AND_ASSIGN(PageHandler);
126 }; 126 };
127 127
128 } // namespace page 128 } // namespace page
129 } // namespace devtools 129 } // namespace devtools
130 } // namespace content 130 } // namespace content
131 131
132 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 132 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698