| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_WEB_UI_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_UI_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/memory/scoped_vector.h" | |
| 12 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 13 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 14 #include "ui/base/page_transition_types.h" | 13 #include "ui/base/page_transition_types.h" |
| 15 | 14 |
| 16 class GURL; | 15 class GURL; |
| 17 | 16 |
| 18 namespace base { | 17 namespace base { |
| 19 class ListValue; | 18 class ListValue; |
| 20 class Value; | 19 class Value; |
| 21 } | 20 } |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 const std::vector<const base::Value*>& args) = 0; | 121 const std::vector<const base::Value*>& args) = 0; |
| 123 | 122 |
| 124 // Allows mutable access to this WebUI's message handlers for testing. | 123 // Allows mutable access to this WebUI's message handlers for testing. |
| 125 virtual std::vector<std::unique_ptr<WebUIMessageHandler>>* | 124 virtual std::vector<std::unique_ptr<WebUIMessageHandler>>* |
| 126 GetHandlersForTesting() = 0; | 125 GetHandlersForTesting() = 0; |
| 127 }; | 126 }; |
| 128 | 127 |
| 129 } // namespace content | 128 } // namespace content |
| 130 | 129 |
| 131 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_H_ | 130 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_H_ |
| OLD | NEW |