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

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

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CONTENT_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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // menus, and other times when the renderer initiates creating an object. 171 // menus, and other times when the renderer initiates creating an object.
172 void Init(); 172 void Init();
173 173
174 // Tells the renderer to die and then calls Destroy(). 174 // Tells the renderer to die and then calls Destroy().
175 virtual void Shutdown(); 175 virtual void Shutdown();
176 176
177 // Manual RTTI FTW. We are not hosting a web page. 177 // Manual RTTI FTW. We are not hosting a web page.
178 virtual bool IsRenderView() const; 178 virtual bool IsRenderView() const;
179 179
180 // IPC::Channel::Listener 180 // IPC::Channel::Listener
181 virtual bool OnMessageReceived(const IPC::Message& msg); 181 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
182 182
183 // Sends a message to the corresponding object in the renderer. 183 // Sends a message to the corresponding object in the renderer.
184 virtual bool Send(IPC::Message* msg); 184 virtual bool Send(IPC::Message* msg) OVERRIDE;
185 185
186 // Called to notify the RenderWidget that it has been hidden or restored from 186 // Called to notify the RenderWidget that it has been hidden or restored from
187 // having been hidden. 187 // having been hidden.
188 void WasHidden(); 188 void WasHidden();
189 void WasRestored(); 189 void WasRestored();
190 190
191 // Called to notify the RenderWidget that it has been resized. 191 // Called to notify the RenderWidget that it has been resized.
192 void WasResized(); 192 void WasResized();
193 193
194 // Called to notify the RenderWidget that its associated native window got 194 // Called to notify the RenderWidget that its associated native window got
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 gfx::Point last_scroll_offset_; 769 gfx::Point last_scroll_offset_;
770 770
771 bool pending_mouse_lock_request_; 771 bool pending_mouse_lock_request_;
772 772
773 base::WeakPtrFactory<RenderWidgetHost> weak_factory_; 773 base::WeakPtrFactory<RenderWidgetHost> weak_factory_;
774 774
775 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 775 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
776 }; 776 };
777 777
778 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 778 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/renderer_host/render_widget_host_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698