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

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

Issue 8548020: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | content/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) 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_MOCK_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MOCK_RENDER_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MOCK_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_MOCK_RENDER_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 30 matching lines...) Expand all
41 virtual void CrossSiteSwapOutACK( 41 virtual void CrossSiteSwapOutACK(
42 const ViewMsg_SwapOut_Params& params) OVERRIDE; 42 const ViewMsg_SwapOut_Params& params) OVERRIDE;
43 virtual bool WaitForUpdateMsg(int render_widget_id, 43 virtual bool WaitForUpdateMsg(int render_widget_id,
44 const base::TimeDelta& max_delay, 44 const base::TimeDelta& max_delay,
45 IPC::Message* msg) OVERRIDE; 45 IPC::Message* msg) OVERRIDE;
46 virtual void ReceivedBadMessage() OVERRIDE; 46 virtual void ReceivedBadMessage() OVERRIDE;
47 virtual void WidgetRestored() OVERRIDE; 47 virtual void WidgetRestored() OVERRIDE;
48 virtual void WidgetHidden() OVERRIDE; 48 virtual void WidgetHidden() OVERRIDE;
49 virtual int VisibleWidgetCount() const OVERRIDE; 49 virtual int VisibleWidgetCount() const OVERRIDE;
50 virtual void AddWord(const string16& word); 50 virtual void AddWord(const string16& word);
51 virtual bool FastShutdownIfPossible(); 51 virtual bool FastShutdownIfPossible() OVERRIDE;
52 virtual bool FastShutdownStarted() const; 52 virtual bool FastShutdownStarted() const OVERRIDE;
53 virtual void DumpHandles(); 53 virtual void DumpHandles() OVERRIDE;
54 virtual base::ProcessHandle GetHandle(); 54 virtual base::ProcessHandle GetHandle() OVERRIDE;
55 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id); 55 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id) OVERRIDE;
56 virtual void SetCompositingSurface( 56 virtual void SetCompositingSurface(
57 int render_widget_id, 57 int render_widget_id,
58 gfx::PluginWindowHandle compositing_surface) OVERRIDE; 58 gfx::PluginWindowHandle compositing_surface) OVERRIDE;
59 virtual int GetID() const OVERRIDE; 59 virtual int GetID() const OVERRIDE;
60 virtual bool HasConnection() const OVERRIDE; 60 virtual bool HasConnection() const OVERRIDE;
61 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE; 61 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE;
62 virtual bool IgnoreInputEvents() const OVERRIDE; 62 virtual bool IgnoreInputEvents() const OVERRIDE;
63 virtual void Attach(IPC::Channel::Listener* listener, 63 virtual void Attach(IPC::Channel::Listener* listener,
64 int routing_id) OVERRIDE; 64 int routing_id) OVERRIDE;
65 virtual void Release(int listener_id) OVERRIDE; 65 virtual void Release(int listener_id) OVERRIDE;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 private: 122 private:
123 // A list of MockRenderProcessHosts created by this object. This list is used 123 // A list of MockRenderProcessHosts created by this object. This list is used
124 // for deleting all MockRenderProcessHosts that have not deleted by a test in 124 // for deleting all MockRenderProcessHosts that have not deleted by a test in
125 // the destructor and prevent them from being leaked. 125 // the destructor and prevent them from being leaked.
126 mutable ScopedVector<MockRenderProcessHost> processes_; 126 mutable ScopedVector<MockRenderProcessHost> processes_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 128 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
129 }; 129 };
130 130
131 #endif // CONTENT_BROWSER_RENDERER_HOST_MOCK_RENDER_PROCESS_HOST_H_ 131 #endif // CONTENT_BROWSER_RENDERER_HOST_MOCK_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/test/browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698