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

Side by Side Diff: Source/core/loader/EmptyClients.cpp

Issue 638503003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/loader (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/loader/FormState.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 static SpellCheckerClient* dummySpellCheckerClient = adoptPtr(new EmptySpell CheckerClient).leakPtr(); 64 static SpellCheckerClient* dummySpellCheckerClient = adoptPtr(new EmptySpell CheckerClient).leakPtr();
65 pageClients.spellCheckerClient = dummySpellCheckerClient; 65 pageClients.spellCheckerClient = dummySpellCheckerClient;
66 66
67 static StorageClient* dummyStorageClient = adoptPtr(new EmptyStorageClient). leakPtr(); 67 static StorageClient* dummyStorageClient = adoptPtr(new EmptyStorageClient). leakPtr();
68 pageClients.storageClient = dummyStorageClient; 68 pageClients.storageClient = dummyStorageClient;
69 } 69 }
70 70
71 class EmptyPopupMenu : public PopupMenu { 71 class EmptyPopupMenu : public PopupMenu {
72 public: 72 public:
73 virtual void show(const FloatQuad&, const IntSize&, int) OVERRIDE { } 73 virtual void show(const FloatQuad&, const IntSize&, int) override { }
74 virtual void hide() OVERRIDE { } 74 virtual void hide() override { }
75 virtual void updateFromElement() OVERRIDE { } 75 virtual void updateFromElement() override { }
76 virtual void disconnectClient() OVERRIDE { } 76 virtual void disconnectClient() override { }
77 }; 77 };
78 78
79 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::createPopupMenu(LocalFrame& , PopupMenuClient*) const 79 PassRefPtrWillBeRawPtr<PopupMenu> EmptyChromeClient::createPopupMenu(LocalFrame& , PopupMenuClient*) const
80 { 80 {
81 return adoptRefWillBeNoop(new EmptyPopupMenu()); 81 return adoptRefWillBeNoop(new EmptyPopupMenu());
82 } 82 }
83 83
84 PassOwnPtr<ColorChooser> EmptyChromeClient::createColorChooser(LocalFrame*, Colo rChooserClient*, const Color&) 84 PassOwnPtr<ColorChooser> EmptyChromeClient::createColorChooser(LocalFrame*, Colo rChooserClient*, const Color&)
85 { 85 {
86 return nullptr; 86 return nullptr;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 { 154 {
155 return nullptr; 155 return nullptr;
156 } 156 }
157 157
158 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() 158 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace()
159 { 159 {
160 return nullptr; 160 return nullptr;
161 } 161 }
162 162
163 } 163 }
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/loader/FormState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698