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

Side by Side Diff: content/public/test/mock_render_thread.h

Issue 10836146: Remove RenderThread::IsRegisteredExtension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « content/public/renderer/render_thread.h ('k') | content/renderer/render_thread_impl.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_TEST_MOCK_RENDER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
7 7
8 #include "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "content/public/renderer/render_thread.h" 10 #include "content/public/renderer/render_thread.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void RemoveObserver(RenderProcessObserver* observer) OVERRIDE; 55 virtual void RemoveObserver(RenderProcessObserver* observer) OVERRIDE;
56 virtual void SetResourceDispatcherDelegate( 56 virtual void SetResourceDispatcherDelegate(
57 ResourceDispatcherDelegate* delegate) OVERRIDE; 57 ResourceDispatcherDelegate* delegate) OVERRIDE;
58 virtual void WidgetHidden() OVERRIDE; 58 virtual void WidgetHidden() OVERRIDE;
59 virtual void WidgetRestored() OVERRIDE; 59 virtual void WidgetRestored() OVERRIDE;
60 virtual void EnsureWebKitInitialized() OVERRIDE; 60 virtual void EnsureWebKitInitialized() OVERRIDE;
61 virtual void RecordUserMetrics(const std::string& action) OVERRIDE; 61 virtual void RecordUserMetrics(const std::string& action) OVERRIDE;
62 virtual base::SharedMemoryHandle HostAllocateSharedMemoryBuffer( 62 virtual base::SharedMemoryHandle HostAllocateSharedMemoryBuffer(
63 uint32 buffer_size) OVERRIDE; 63 uint32 buffer_size) OVERRIDE;
64 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE; 64 virtual void RegisterExtension(v8::Extension* extension) OVERRIDE;
65 virtual bool IsRegisteredExtension(
66 const std::string& v8_extension_name) const OVERRIDE;
67 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; 65 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE;
68 virtual void IdleHandler() OVERRIDE; 66 virtual void IdleHandler() OVERRIDE;
69 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; 67 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE;
70 virtual void SetIdleNotificationDelayInMs( 68 virtual void SetIdleNotificationDelayInMs(
71 int64 idle_notification_delay_in_ms) OVERRIDE; 69 int64 idle_notification_delay_in_ms) OVERRIDE;
72 virtual void ToggleWebKitSharedTimer(bool suspend) OVERRIDE; 70 virtual void ToggleWebKitSharedTimer(bool suspend) OVERRIDE;
73 virtual void UpdateHistograms(int sequence_number) OVERRIDE; 71 virtual void UpdateHistograms(int sequence_number) OVERRIDE;
74 #if defined(OS_WIN) 72 #if defined(OS_WIN)
75 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; 73 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE;
76 virtual void ReleaseCachedFonts() OVERRIDE; 74 virtual void ReleaseCachedFonts() OVERRIDE;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // Routing id that will be assigned to a CreateWindow Widget. 146 // Routing id that will be assigned to a CreateWindow Widget.
149 int32 new_window_routing_id_; 147 int32 new_window_routing_id_;
150 148
151 // The last known good deserializer for sync messages. 149 // The last known good deserializer for sync messages.
152 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_; 150 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_;
153 }; 151 };
154 152
155 } // namespace content 153 } // namespace content
156 154
157 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 155 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_thread.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698