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

Side by Side Diff: chrome/browser/extensions/tab_helper.h

Issue 1159623014: Revert of Encapsulate CSS selector declarative content condition tracking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stars-declarative-content-range-for
Patch Set: Created 5 years, 6 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 (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_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector>
10 11
11 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
14 #include "base/observer_list.h" 15 #include "base/observer_list.h"
15 #include "chrome/browser/extensions/active_tab_permission_granter.h" 16 #include "chrome/browser/extensions/active_tab_permission_granter.h"
16 #include "chrome/browser/extensions/extension_reenabler.h" 17 #include "chrome/browser/extensions/extension_reenabler.h"
17 #include "chrome/common/extensions/webstore_install_result.h" 18 #include "chrome/common/extensions/webstore_install_result.h"
18 #include "chrome/common/web_application_info.h" 19 #include "chrome/common/web_application_info.h"
19 #include "content/public/browser/notification_observer.h" 20 #include "content/public/browser/notification_observer.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 const std::string& webstore_item_id, 164 const std::string& webstore_item_id,
164 const GURL& requestor_url, 165 const GURL& requestor_url,
165 int listeners_mask); 166 int listeners_mask);
166 void OnGetAppInstallState(const GURL& requestor_url, 167 void OnGetAppInstallState(const GURL& requestor_url,
167 int return_route_id, 168 int return_route_id,
168 int callback_id); 169 int callback_id);
169 void OnRequest(const ExtensionHostMsg_Request_Params& params); 170 void OnRequest(const ExtensionHostMsg_Request_Params& params);
170 void OnContentScriptsExecuting( 171 void OnContentScriptsExecuting(
171 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids, 172 const ScriptExecutionObserver::ExecutingScriptsMap& extension_ids,
172 const GURL& on_url); 173 const GURL& on_url);
174 void OnWatchedPageChange(const std::vector<std::string>& css_selectors);
173 void OnDetailedConsoleMessageAdded(const base::string16& message, 175 void OnDetailedConsoleMessageAdded(const base::string16& message,
174 const base::string16& source, 176 const base::string16& source,
175 const StackTrace& stack_trace, 177 const StackTrace& stack_trace,
176 int32 severity_level); 178 int32 severity_level);
177 179
178 // App extensions related methods: 180 // App extensions related methods:
179 181
180 // Resets app_icon_ and if |extension| is non-null uses ImageLoader to load 182 // Resets app_icon_ and if |extension| is non-null uses ImageLoader to load
181 // the extension's image asynchronously. 183 // the extension's image asynchronously.
182 void UpdateExtensionAppIcon(const Extension* extension); 184 void UpdateExtensionAppIcon(const Extension* extension);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 268
267 // Generic weak ptr factory for posting callbacks. 269 // Generic weak ptr factory for posting callbacks.
268 base::WeakPtrFactory<TabHelper> weak_ptr_factory_; 270 base::WeakPtrFactory<TabHelper> weak_ptr_factory_;
269 271
270 DISALLOW_COPY_AND_ASSIGN(TabHelper); 272 DISALLOW_COPY_AND_ASSIGN(TabHelper);
271 }; 273 };
272 274
273 } // namespace extensions 275 } // namespace extensions
274 276
275 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ 277 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698