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

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

Issue 8869003: Move the "extension" namespace from extension_api.json into extension_api_extension.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build.py again? Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Defines the Chrome Extensions WebNavigation API functions for observing and 5 // Defines the Chrome Extensions WebNavigation API functions for observing and
6 // intercepting navigation events, as specified in 6 // intercepting navigation events, as specified in the extension JSON API.
7 // chrome/common/extensions/api/extension_api.json.
8 7
9 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_H_ 8 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_H_
10 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_H_ 9 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_H_
11 #pragma once 10 #pragma once
12 11
13 #include <map> 12 #include <map>
14 #include <set> 13 #include <set>
15 14
16 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
17 #include "chrome/browser/extensions/extension_function.h" 16 #include "chrome/browser/extensions/extension_function.h"
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 }; 238 };
240 239
241 // API function that returns the states of all frames in a given tab. 240 // API function that returns the states of all frames in a given tab.
242 class GetAllFramesFunction : public SyncExtensionFunction { 241 class GetAllFramesFunction : public SyncExtensionFunction {
243 virtual ~GetAllFramesFunction() {} 242 virtual ~GetAllFramesFunction() {}
244 virtual bool RunImpl() OVERRIDE; 243 virtual bool RunImpl() OVERRIDE;
245 DECLARE_EXTENSION_FUNCTION_NAME("webNavigation.getAllFrames") 244 DECLARE_EXTENSION_FUNCTION_NAME("webNavigation.getAllFrames")
246 }; 245 };
247 246
248 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_H_ 247 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_proxy_api_helpers.cc ('k') | chrome/browser/extensions/extension_webrequest_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698