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

Side by Side Diff: content/public/renderer/render_view_observer.h

Issue 629203002: Replace OVERRIDE and FINAL with override and final in content/public/[a-s]* (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
« no previous file with comments | « content/public/renderer/render_frame_observer.h ('k') | content/public/test/browser_test.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 // 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_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 // These match incoming IPCs. 92 // These match incoming IPCs.
93 virtual void Navigate(const GURL& url) {} 93 virtual void Navigate(const GURL& url) {}
94 virtual void ClosePage() {} 94 virtual void ClosePage() {}
95 virtual void OrientationChangeEvent() {} 95 virtual void OrientationChangeEvent() {}
96 virtual void Resized() {} 96 virtual void Resized() {}
97 97
98 virtual void OnStop() {} 98 virtual void OnStop() {}
99 99
100 // IPC::Listener implementation. 100 // IPC::Listener implementation.
101 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 101 virtual bool OnMessageReceived(const IPC::Message& message) override;
102 102
103 // IPC::Sender implementation. 103 // IPC::Sender implementation.
104 virtual bool Send(IPC::Message* message) OVERRIDE; 104 virtual bool Send(IPC::Message* message) override;
105 105
106 RenderView* render_view() const; 106 RenderView* render_view() const;
107 int routing_id() const { return routing_id_; } 107 int routing_id() const { return routing_id_; }
108 108
109 protected: 109 protected:
110 explicit RenderViewObserver(RenderView* render_view); 110 explicit RenderViewObserver(RenderView* render_view);
111 virtual ~RenderViewObserver(); 111 virtual ~RenderViewObserver();
112 112
113 // Sets |render_view_| to track. 113 // Sets |render_view_| to track.
114 // Removes itself of previous (if any) |render_view_| observer list and adds 114 // Removes itself of previous (if any) |render_view_| observer list and adds
(...skipping 11 matching lines...) Expand all
126 RenderView* render_view_; 126 RenderView* render_view_;
127 // The routing ID of the associated RenderView. 127 // The routing ID of the associated RenderView.
128 int routing_id_; 128 int routing_id_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 130 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
131 }; 131 };
132 132
133 } // namespace content 133 } // namespace content
134 134
135 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 135 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_frame_observer.h ('k') | content/public/test/browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698