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

Side by Side Diff: chrome/renderer/principals_extension_bindings.cc

Issue 630603003: Replacing the OVERRIDE with override in chrome/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/renderer/principals_extension_bindings.h" 5 #include "chrome/renderer/principals_extension_bindings.h"
6 6
7 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
8 #include "content/public/renderer/render_view.h" 8 #include "content/public/renderer/render_view.h"
9 #include "third_party/WebKit/public/web/WebDocument.h" 9 #include "third_party/WebKit/public/web/WebDocument.h"
10 #include "third_party/WebKit/public/web/WebLocalFrame.h" 10 #include "third_party/WebKit/public/web/WebLocalFrame.h"
11 #include "third_party/WebKit/public/web/WebView.h" 11 #include "third_party/WebKit/public/web/WebView.h"
12 #include "v8/include/v8.h" 12 #include "v8/include/v8.h"
13 13
14 using blink::WebLocalFrame; 14 using blink::WebLocalFrame;
15 using blink::WebView; 15 using blink::WebView;
16 using content::RenderView; 16 using content::RenderView;
17 17
18 namespace { 18 namespace {
19 19
20 class PrincipalsExtensionWrapper : public v8::Extension { 20 class PrincipalsExtensionWrapper : public v8::Extension {
21 public: 21 public:
22 PrincipalsExtensionWrapper(); 22 PrincipalsExtensionWrapper();
23 23
24 private: 24 private:
25 // v8::Extension overrides. 25 // v8::Extension overrides.
26 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunctionTemplate( 26 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunctionTemplate(
27 v8::Isolate* isolate, 27 v8::Isolate* isolate,
28 v8::Handle<v8::String> name) OVERRIDE; 28 v8::Handle<v8::String> name) override;
29 29
30 static RenderView* GetRenderView(); 30 static RenderView* GetRenderView();
31 31
32 static void GetManagedAccounts( 32 static void GetManagedAccounts(
33 const v8::FunctionCallbackInfo<v8::Value>& args); 33 const v8::FunctionCallbackInfo<v8::Value>& args);
34 static void ShowBrowserAccountManagementUI( 34 static void ShowBrowserAccountManagementUI(
35 const v8::FunctionCallbackInfo<v8::Value>& args); 35 const v8::FunctionCallbackInfo<v8::Value>& args);
36 36
37 DISALLOW_COPY_AND_ASSIGN(PrincipalsExtensionWrapper); 37 DISALLOW_COPY_AND_ASSIGN(PrincipalsExtensionWrapper);
38 }; 38 };
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 } // namespace 120 } // namespace
121 121
122 namespace extensions_v8 { 122 namespace extensions_v8 {
123 123
124 v8::Extension* PrincipalsExtension::Get() { 124 v8::Extension* PrincipalsExtension::Get() {
125 return new PrincipalsExtensionWrapper(); 125 return new PrincipalsExtensionWrapper();
126 } 126 }
127 127
128 } // namespace extensions_v8 128 } // namespace extensions_v8
OLDNEW
« no previous file with comments | « chrome/renderer/prerender/prerenderer_client.h ('k') | chrome/renderer/printing/print_web_view_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698