OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |