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

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

Issue 10690023: Upstream support for WebKit shared timer toggling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove blank line Created 8 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
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 #pragma once 7 #pragma once
8 8
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 const std::string& v8_extension_name) const OVERRIDE; 67 const std::string& v8_extension_name) const OVERRIDE;
68 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE; 68 virtual void ScheduleIdleHandler(int64 initial_delay_ms) OVERRIDE;
69 virtual void IdleHandler() OVERRIDE; 69 virtual void IdleHandler() OVERRIDE;
70 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE; 70 virtual int64 GetIdleNotificationDelayInMs() const OVERRIDE;
71 virtual void SetIdleNotificationDelayInMs( 71 virtual void SetIdleNotificationDelayInMs(
72 int64 idle_notification_delay_in_ms) OVERRIDE; 72 int64 idle_notification_delay_in_ms) OVERRIDE;
73 #if defined(OS_WIN) 73 #if defined(OS_WIN)
74 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; 74 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE;
75 virtual void ReleaseCachedFonts() OVERRIDE; 75 virtual void ReleaseCachedFonts() OVERRIDE;
76 #endif 76 #endif
77 virtual void ToggleWebKitSharedTimer(bool suspend) OVERRIDE;
77 78
78 ////////////////////////////////////////////////////////////////////////// 79 //////////////////////////////////////////////////////////////////////////
79 // The following functions are called by the test itself. 80 // The following functions are called by the test itself.
80 81
81 void set_routing_id(int32 id) { 82 void set_routing_id(int32 id) {
82 routing_id_ = id; 83 routing_id_ = id;
83 } 84 }
84 85
85 void set_surface_id(int32 id) { 86 void set_surface_id(int32 id) {
86 surface_id_ = id; 87 surface_id_ = id;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // Routing id that will be assigned to a CreateWindow Widget. 148 // Routing id that will be assigned to a CreateWindow Widget.
148 int32 new_window_routing_id_; 149 int32 new_window_routing_id_;
149 150
150 // The last known good deserializer for sync messages. 151 // The last known good deserializer for sync messages.
151 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_; 152 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_;
152 }; 153 };
153 154
154 } // namespace content 155 } // namespace content
155 156
156 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 157 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698