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

Side by Side Diff: content/renderer/pepper/pepper_file_chooser_host.h

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 CONTENT_RENDERER_PEPPER_PEPPER_FILE_CHOOSER_HOST_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_FILE_CHOOSER_HOST_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_CHOOSER_HOST_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_CHOOSER_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 24 matching lines...) Expand all
35 std::string display_name; // May be empty. 35 std::string display_name; // May be empty.
36 }; 36 };
37 37
38 PepperFileChooserHost(RendererPpapiHost* host, 38 PepperFileChooserHost(RendererPpapiHost* host,
39 PP_Instance instance, 39 PP_Instance instance,
40 PP_Resource resource); 40 PP_Resource resource);
41 virtual ~PepperFileChooserHost(); 41 virtual ~PepperFileChooserHost();
42 42
43 virtual int32_t OnResourceMessageReceived( 43 virtual int32_t OnResourceMessageReceived(
44 const IPC::Message& msg, 44 const IPC::Message& msg,
45 ppapi::host::HostMessageContext* context) OVERRIDE; 45 ppapi::host::HostMessageContext* context) override;
46 46
47 void StoreChosenFiles(const std::vector<ChosenFileInfo>& files); 47 void StoreChosenFiles(const std::vector<ChosenFileInfo>& files);
48 48
49 private: 49 private:
50 class CompletionHandler; 50 class CompletionHandler;
51 51
52 int32_t OnShow(ppapi::host::HostMessageContext* context, 52 int32_t OnShow(ppapi::host::HostMessageContext* context,
53 bool save_as, 53 bool save_as,
54 bool open_multiple, 54 bool open_multiple,
55 const std::string& suggested_file_name, 55 const std::string& suggested_file_name,
(...skipping 10 matching lines...) Expand all
66 CompletionHandler* handler_; 66 CompletionHandler* handler_;
67 67
68 base::WeakPtrFactory<PepperFileChooserHost> weak_factory_; 68 base::WeakPtrFactory<PepperFileChooserHost> weak_factory_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(PepperFileChooserHost); 70 DISALLOW_COPY_AND_ASSIGN(PepperFileChooserHost);
71 }; 71 };
72 72
73 } // namespace content 73 } // namespace content
74 74
75 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_CHOOSER_HOST_H_ 75 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_CHOOSER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698