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

Side by Side Diff: chrome/renderer/mock_render_thread.h

Issue 17455: Autofill popup dismissed when page loses focus (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/mock_render_thread.cc » ('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) 2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2008 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 CHROME_RENDERER_MOCK_RENDER_THREAD_H_ 5 #ifndef CHROME_RENDERER_MOCK_RENDER_THREAD_H_
6 #define CHROME_RENDERER_MOCK_RENDER_THREAD_H_ 6 #define CHROME_RENDERER_MOCK_RENDER_THREAD_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "chrome/renderer/render_thread.h" 10 #include "chrome/renderer/render_thread.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // on releasing the internal reference counts and destroying the internal 87 // on releasing the internal reference counts and destroying the internal
88 // state. 88 // state.
89 void SendCloseMessage(); 89 void SendCloseMessage();
90 90
91 private: 91 private:
92 // This function operates as a regular IPC listener. 92 // This function operates as a regular IPC listener.
93 void OnMessageReceived(const IPC::Message& msg); 93 void OnMessageReceived(const IPC::Message& msg);
94 94
95 // The Widget expects to be returned valid route_id. 95 // The Widget expects to be returned valid route_id.
96 void OnMsgCreateWidget(int opener_id, 96 void OnMsgCreateWidget(int opener_id,
97 bool focus_on_show, 97 bool activatable,
98 int* route_id); 98 int* route_id);
99 99
100 // Routing id what will be assigned to the Widget. 100 // Routing id what will be assigned to the Widget.
101 int32 routing_id_; 101 int32 routing_id_;
102 102
103 // Opener id reported by the Widget. 103 // Opener id reported by the Widget.
104 int32 opener_id_; 104 int32 opener_id_;
105 105
106 // We only keep track of one Widget, we learn its pointer when it 106 // We only keep track of one Widget, we learn its pointer when it
107 // adds a new route. 107 // adds a new route.
108 IPC::Channel::Listener* widget_; 108 IPC::Channel::Listener* widget_;
109 109
110 // The last known good deserializer for sync messages. 110 // The last known good deserializer for sync messages.
111 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_; 111 scoped_ptr<IPC::MessageReplyDeserializer> reply_deserializer_;
112 112
113 std::vector<MessagePair> messages_; 113 std::vector<MessagePair> messages_;
114 }; 114 };
115 115
116 #endif // CHROME_RENDERER_MOCK_RENDER_THREAD_H_ 116 #endif // CHROME_RENDERER_MOCK_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698