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

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

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
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 // Defines the classes to realize the Font Settings Extension API as specified 5 // Defines the classes to realize the Font Settings Extension API as specified
6 // in the extension API JSON. 6 // in the extension API JSON.
7 7
8 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FONT_SETTINGS_API_H__ 8 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FONT_SETTINGS_API_H__
9 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FONT_SETTINGS_API_H__ 9 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FONT_SETTINGS_API_H__
10 #pragma once
11 10
12 #include <map> 11 #include <map>
13 #include <string> 12 #include <string>
14 #include <utility> 13 #include <utility>
15 14
16 #include "chrome/browser/extensions/extension_function.h" 15 #include "chrome/browser/extensions/extension_function.h"
17 #include "chrome/browser/prefs/pref_change_registrar.h" 16 #include "chrome/browser/prefs/pref_change_registrar.h"
18 17
19 // This class observes pref changed events on a profile and dispatches the 18 // This class observes pref changed events on a profile and dispatches the
20 // corresponding extension API events to extensions. 19 // corresponding extension API events to extensions.
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 298
300 protected: 299 protected:
301 virtual ~SetMinimumFontSizeFunction() {} 300 virtual ~SetMinimumFontSizeFunction() {}
302 301
303 // SetFontPrefExtensionFunction: 302 // SetFontPrefExtensionFunction:
304 virtual const char* GetPrefName() OVERRIDE; 303 virtual const char* GetPrefName() OVERRIDE;
305 virtual const char* GetKey() OVERRIDE; 304 virtual const char* GetKey() OVERRIDE;
306 }; 305 };
307 306
308 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FONT_SETTINGS_API_H__ 307 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FONT_SETTINGS_API_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_event_router_forwarder.h ('k') | chrome/browser/extensions/extension_function.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698