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

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

Issue 7468010: RenderViewHostDelegate: add missing 'virtual' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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) 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_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 // Notification that a previously unresponsive renderer has become 320 // Notification that a previously unresponsive renderer has become
321 // responsive again. The delegate can use this notification to end the 321 // responsive again. The delegate can use this notification to end the
322 // warning shown to the user. 322 // warning shown to the user.
323 virtual void RendererResponsive(RenderViewHost* render_view_host) {} 323 virtual void RendererResponsive(RenderViewHost* render_view_host) {}
324 324
325 // Notification that the RenderViewHost's load state changed. 325 // Notification that the RenderViewHost's load state changed.
326 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state, 326 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state,
327 uint64 upload_position, uint64 upload_size) {} 327 uint64 upload_position, uint64 upload_size) {}
328 328
329 // Notification that a worker process has crashed. 329 // Notification that a worker process has crashed.
330 void WorkerCrashed() {} 330 virtual void WorkerCrashed() {}
331 331
332 // The page wants the hosting window to activate/deactivate itself (it 332 // The page wants the hosting window to activate/deactivate itself (it
333 // called the JavaScript window.focus()/blur() method). 333 // called the JavaScript window.focus()/blur() method).
334 virtual void Activate() {} 334 virtual void Activate() {}
335 virtual void Deactivate() {} 335 virtual void Deactivate() {}
336 336
337 // Notification that the view has lost capture. 337 // Notification that the view has lost capture.
338 virtual void LostCapture() {} 338 virtual void LostCapture() {}
339 339
340 // Callback to give the browser a chance to handle the specified keyboard 340 // Callback to give the browser a chance to handle the specified keyboard
(...skipping 15 matching lines...) Expand all
356 virtual void HandleMouseDown() {} 356 virtual void HandleMouseDown() {}
357 virtual void HandleMouseLeave() {} 357 virtual void HandleMouseLeave() {}
358 virtual void HandleMouseUp() {} 358 virtual void HandleMouseUp() {}
359 virtual void HandleMouseActivate() {} 359 virtual void HandleMouseActivate() {}
360 360
361 protected: 361 protected:
362 virtual ~RenderViewHostDelegate() {} 362 virtual ~RenderViewHostDelegate() {}
363 }; 363 };
364 364
365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698