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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host.h

Issue 122002: Moving the WM_SETFOCUS message processing out of FocusManager (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 bool Send(IPC::Message* msg); 158 bool Send(IPC::Message* msg);
159 159
160 // Called to notify the RenderWidget that it has been hidden or restored from 160 // Called to notify the RenderWidget that it has been hidden or restored from
161 // having been hidden. 161 // having been hidden.
162 void WasHidden(); 162 void WasHidden();
163 void WasRestored(); 163 void WasRestored();
164 164
165 // Called to notify the RenderWidget that it has been resized. 165 // Called to notify the RenderWidget that it has been resized.
166 void WasResized(); 166 void WasResized();
167 167
168 // Called to notify the RenderWidget that its associated native window got
169 // focused.
170 virtual void GotFocus();
171
172 // Tells the renderer it got/lost focus.
168 void Focus(); 173 void Focus();
169 void Blur(); 174 void Blur();
170 void LostCapture(); 175 void LostCapture();
171 176
172 // Notifies the RenderWidgetHost that the View was destroyed. 177 // Notifies the RenderWidgetHost that the View was destroyed.
173 void ViewDestroyed(); 178 void ViewDestroyed();
174 179
175 // Indicates if the page has finished loading. 180 // Indicates if the page has finished loading.
176 void SetIsLoading(bool is_loading); 181 void SetIsLoading(bool is_loading);
177 182
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 430
426 // Set when we cancel updating the text direction. 431 // Set when we cancel updating the text direction.
427 // This flag also ignores succeeding update requests until we call 432 // This flag also ignores succeeding update requests until we call
428 // NotifyTextDirection(). 433 // NotifyTextDirection().
429 bool text_direction_canceled_; 434 bool text_direction_canceled_;
430 435
431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); 436 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost);
432 }; 437 };
433 438
434 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ 439 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host_delegate.h ('k') | chrome/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698