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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host.h

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // Tells the renderer to die and then calls Destroy(). 176 // Tells the renderer to die and then calls Destroy().
177 virtual void Shutdown(); 177 virtual void Shutdown();
178 178
179 // Manual RTTI FTW. We are not hosting a web page. 179 // Manual RTTI FTW. We are not hosting a web page.
180 virtual bool IsRenderView() const { return false; } 180 virtual bool IsRenderView() const { return false; }
181 181
182 // IPC::Channel::Listener 182 // IPC::Channel::Listener
183 virtual void OnMessageReceived(const IPC::Message& msg); 183 virtual void OnMessageReceived(const IPC::Message& msg);
184 184
185 // Sends a message to the corresponding object in the renderer. 185 // Sends a message to the corresponding object in the renderer.
186 bool Send(IPC::Message* msg); 186 virtual bool Send(IPC::Message* msg);
187 187
188 // Called to notify the RenderWidget that it has been hidden or restored from 188 // Called to notify the RenderWidget that it has been hidden or restored from
189 // having been hidden. 189 // having been hidden.
190 void WasHidden(); 190 void WasHidden();
191 void WasRestored(); 191 void WasRestored();
192 192
193 // Called to notify the RenderWidget that it has been resized. 193 // Called to notify the RenderWidget that it has been resized.
194 void WasResized(); 194 void WasResized();
195 195
196 // Called to notify the RenderWidget that its associated native window got 196 // Called to notify the RenderWidget that its associated native window got
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 // but the Char event generated by alt-2 may also activate a HTML element 680 // but the Char event generated by alt-2 may also activate a HTML element
681 // if its accesskey happens to be "2", then the user may get confused when 681 // if its accesskey happens to be "2", then the user may get confused when
682 // switching back to the original tab, because the content may already be 682 // switching back to the original tab, because the content may already be
683 // changed. 683 // changed.
684 bool suppress_next_char_events_; 684 bool suppress_next_char_events_;
685 685
686 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 686 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
687 }; 687 };
688 688
689 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 689 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698