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 CHROME_BROWSER_EXTENSIONS_API_OFFSCREEN_TABS_OFFSCREEN_TABS_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_OFFSCREEN_TABS_OFFSCREEN_TABS_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_OFFSCREEN_TABS_OFFSCREEN_TABS_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_OFFSCREEN_TABS_OFFSCREEN_TABS_API_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/values.h" | 10 #include "base/values.h" |
12 #include "chrome/browser/extensions/api/tabs/tabs.h" | 11 #include "chrome/browser/extensions/api/tabs/tabs.h" |
13 #include "chrome/browser/extensions/extension_function.h" | 12 #include "chrome/browser/extensions/extension_function.h" |
14 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
15 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
16 #include "content/public/browser/web_contents_observer.h" | 15 #include "content/public/browser/web_contents_observer.h" |
17 | 16 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 virtual bool RunImpl() OVERRIDE; | 172 virtual bool RunImpl() OVERRIDE; |
174 | 173 |
175 // UpdateTabFunction: | 174 // UpdateTabFunction: |
176 virtual void PopulateResult() OVERRIDE; | 175 virtual void PopulateResult() OVERRIDE; |
177 | 176 |
178 private: | 177 private: |
179 DISALLOW_COPY_AND_ASSIGN(UpdateOffscreenTabFunction); | 178 DISALLOW_COPY_AND_ASSIGN(UpdateOffscreenTabFunction); |
180 }; | 179 }; |
181 | 180 |
182 #endif // CHROME_BROWSER_EXTENSIONS_API_OFFSCREEN_TABS_OFFSCREEN_TABS_API_H_ | 181 #endif // CHROME_BROWSER_EXTENSIONS_API_OFFSCREEN_TABS_OFFSCREEN_TABS_API_H_ |
OLD | NEW |