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

Side by Side Diff: ui/base/resource/resource_data_dll_win.h

Issue 854713003: More old files deletion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix tryjobs? Created 5 years, 11 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
« no previous file with comments | « ui/base/resource/resource_bundle_win.cc ('k') | ui/base/resource/resource_data_dll_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_BASE_RESOURCE_RESOURCE_DATA_DLL_WIN_H_
6 #define UI_BASE_RESOURCE_RESOURCE_DATA_DLL_WIN_H_
7
8 #include <windows.h>
9
10 #include "base/compiler_specific.h"
11 #include "ui/base/resource/resource_handle.h"
12
13 namespace ui {
14
15 class ResourceDataDLL : public ResourceHandle {
16 public:
17 explicit ResourceDataDLL(HINSTANCE module);
18 virtual ~ResourceDataDLL();
19
20 // ResourceHandle implementation:
21 virtual bool HasResource(uint16 resource_id) const override;
22 virtual bool GetStringPiece(uint16 resource_id,
23 base::StringPiece* data) const override;
24 virtual base::RefCountedStaticMemory* GetStaticMemory(
25 uint16 resource_id) const override;
26 virtual TextEncodingType GetTextEncodingType() const override;
27 virtual ScaleFactor GetScaleFactor() const override;
28
29 private:
30 const HINSTANCE module_;
31
32 DISALLOW_COPY_AND_ASSIGN(ResourceDataDLL);
33 };
34
35 } // namespace ui
36
37 #endif // UI_BASE_RESOURCE_RESOURCE_DATA_DLL_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/resource/resource_bundle_win.cc ('k') | ui/base/resource/resource_data_dll_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698