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

Side by Side Diff: content/shell/shell_content_client.h

Issue 10387010: Select theme resources from ResourceBundle at requested scale factor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. Created 8 years, 7 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 #ifndef CONTENT_SHELL_SHELL_CONTENT_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 13 matching lines...) Expand all
24 std::vector<content::PepperPluginInfo>* plugins) OVERRIDE; 24 std::vector<content::PepperPluginInfo>* plugins) OVERRIDE;
25 virtual void AddNPAPIPlugins( 25 virtual void AddNPAPIPlugins(
26 webkit::npapi::PluginList* plugin_list) OVERRIDE; 26 webkit::npapi::PluginList* plugin_list) OVERRIDE;
27 virtual void AddAdditionalSchemes( 27 virtual void AddAdditionalSchemes(
28 std::vector<std::string>* standard_schemes, 28 std::vector<std::string>* standard_schemes,
29 std::vector<std::string>* savable_schemes) OVERRIDE; 29 std::vector<std::string>* savable_schemes) OVERRIDE;
30 virtual bool HasWebUIScheme(const GURL& url) const OVERRIDE; 30 virtual bool HasWebUIScheme(const GURL& url) const OVERRIDE;
31 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE; 31 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE;
32 virtual std::string GetUserAgent() const OVERRIDE; 32 virtual std::string GetUserAgent() const OVERRIDE;
33 virtual string16 GetLocalizedString(int message_id) const OVERRIDE; 33 virtual string16 GetLocalizedString(int message_id) const OVERRIDE;
34 virtual base::StringPiece GetDataResource(int resource_id) const OVERRIDE; 34 virtual base::StringPiece GetDataResource(
35 virtual base::StringPiece GetImageResource(int resource_id, 35 int resource_id,
36 float scale_factor) const OVERRIDE; 36 ui::ScaleFactor scale_factor) const OVERRIDE;
37 37
38 #if defined(OS_WIN) 38 #if defined(OS_WIN)
39 virtual bool SandboxPlugin(CommandLine* command_line, 39 virtual bool SandboxPlugin(CommandLine* command_line,
40 sandbox::TargetPolicy* policy) OVERRIDE; 40 sandbox::TargetPolicy* policy) OVERRIDE;
41 #endif 41 #endif
42 42
43 #if defined(OS_MACOSX) 43 #if defined(OS_MACOSX)
44 virtual bool GetSandboxProfileForSandboxType( 44 virtual bool GetSandboxProfileForSandboxType(
45 int sandbox_type, 45 int sandbox_type,
46 int* sandbox_profile_resource_id) const OVERRIDE; 46 int* sandbox_profile_resource_id) const OVERRIDE;
47 #endif 47 #endif
48 }; 48 };
49 49
50 } // namespace content 50 } // namespace content
51 51
52 #endif // CONTENT_SHELL_SHELL_CONTENT_CLIENT_H_ 52 #endif // CONTENT_SHELL_SHELL_CONTENT_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698