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

Side by Side Diff: Source/core/inspector/InspectorHistory.cpp

Issue 638553002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed Nits 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/inspector/InspectorHistory.h ('k') | Source/core/inspector/InspectorInputAgent.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 #include "core/inspector/InspectorHistory.h" 32 #include "core/inspector/InspectorHistory.h"
33 33
34 #include "bindings/core/v8/ExceptionState.h" 34 #include "bindings/core/v8/ExceptionState.h"
35 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 35 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
36 #include "core/dom/Node.h" 36 #include "core/dom/Node.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 namespace { 40 namespace {
41 41
42 class UndoableStateMark FINAL : public InspectorHistory::Action { 42 class UndoableStateMark final : public InspectorHistory::Action {
43 public: 43 public:
44 UndoableStateMark() : InspectorHistory::Action("[UndoableState]") { } 44 UndoableStateMark() : InspectorHistory::Action("[UndoableState]") { }
45 45
46 virtual bool perform(ExceptionState&) OVERRIDE { return true; } 46 virtual bool perform(ExceptionState&) override { return true; }
47 47
48 virtual bool undo(ExceptionState&) OVERRIDE { return true; } 48 virtual bool undo(ExceptionState&) override { return true; }
49 49
50 virtual bool redo(ExceptionState&) OVERRIDE { return true; } 50 virtual bool redo(ExceptionState&) override { return true; }
51 51
52 virtual bool isUndoableStateMark() OVERRIDE { return true; } 52 virtual bool isUndoableStateMark() override { return true; }
53 }; 53 };
54 54
55 } 55 }
56 56
57 InspectorHistory::Action::Action(const String& name) : m_name(name) 57 InspectorHistory::Action::Action(const String& name) : m_name(name)
58 { 58 {
59 } 59 }
60 60
61 InspectorHistory::Action::~Action() 61 InspectorHistory::Action::~Action()
62 { 62 {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 m_history.clear(); 150 m_history.clear();
151 } 151 }
152 152
153 void InspectorHistory::trace(Visitor* visitor) 153 void InspectorHistory::trace(Visitor* visitor)
154 { 154 {
155 visitor->trace(m_history); 155 visitor->trace(m_history);
156 } 156 }
157 157
158 } // namespace blink 158 } // namespace blink
159 159
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorHistory.h ('k') | Source/core/inspector/InspectorInputAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698