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

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

Issue 12212057: [Autofill] Add ability to load Risk fingerprint data in AutofillDialogControllerImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mock harder Created 7 years, 10 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 const gfx::Size& desired_size) OVERRIDE; 137 const gfx::Size& desired_size) OVERRIDE;
138 virtual void Replace(const string16& word) OVERRIDE; 138 virtual void Replace(const string16& word) OVERRIDE;
139 virtual void ReplaceMisspelling(const string16& word) OVERRIDE; 139 virtual void ReplaceMisspelling(const string16& word) OVERRIDE;
140 virtual void ResizeRectChanged(const gfx::Rect& new_rect) OVERRIDE; 140 virtual void ResizeRectChanged(const gfx::Rect& new_rect) OVERRIDE;
141 virtual void RestartHangMonitorTimeout() OVERRIDE; 141 virtual void RestartHangMonitorTimeout() OVERRIDE;
142 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE; 142 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE;
143 virtual void Stop() OVERRIDE; 143 virtual void Stop() OVERRIDE;
144 virtual void WasResized() OVERRIDE; 144 virtual void WasResized() OVERRIDE;
145 virtual void AddKeyboardListener(KeyboardListener* listener) OVERRIDE; 145 virtual void AddKeyboardListener(KeyboardListener* listener) OVERRIDE;
146 virtual void RemoveKeyboardListener(KeyboardListener* listener) OVERRIDE; 146 virtual void RemoveKeyboardListener(KeyboardListener* listener) OVERRIDE;
147 virtual void GetWebScreenInfo(WebKit::WebScreenInfo* result) OVERRIDE;
147 148
148 // Notification that the screen info has changed. 149 // Notification that the screen info has changed.
149 void NotifyScreenInfoChanged(); 150 void NotifyScreenInfoChanged();
150 151
151 // Sets the View of this RenderWidgetHost. 152 // Sets the View of this RenderWidgetHost.
152 void SetView(RenderWidgetHostView* view); 153 void SetView(RenderWidgetHostView* view);
153 154
154 int surface_id() const { return surface_id_; } 155 int surface_id() const { return surface_id_; }
155 156
156 bool empty() const { return current_size_.IsEmpty(); } 157 bool empty() const { return current_size_.IsEmpty(); }
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 void SetShouldAutoResize(bool enable); 505 void SetShouldAutoResize(bool enable);
505 506
506 // Expose increment/decrement of the in-flight event count, so 507 // Expose increment/decrement of the in-flight event count, so
507 // RenderViewHostImpl can account for in-flight beforeunload/unload events. 508 // RenderViewHostImpl can account for in-flight beforeunload/unload events.
508 int increment_in_flight_event_count() { return ++in_flight_event_count_; } 509 int increment_in_flight_event_count() { return ++in_flight_event_count_; }
509 int decrement_in_flight_event_count() { return --in_flight_event_count_; } 510 int decrement_in_flight_event_count() { return --in_flight_event_count_; }
510 511
511 // Returns whether an overscroll gesture is in progress. 512 // Returns whether an overscroll gesture is in progress.
512 bool IsInOverscrollGesture() const; 513 bool IsInOverscrollGesture() const;
513 514
514 void GetWebScreenInfo(WebKit::WebScreenInfo* result);
515
516 // The View associated with the RenderViewHost. The lifetime of this object 515 // The View associated with the RenderViewHost. The lifetime of this object
517 // is associated with the lifetime of the Render process. If the Renderer 516 // is associated with the lifetime of the Render process. If the Renderer
518 // crashes, its View is destroyed and this pointer becomes NULL, even though 517 // crashes, its View is destroyed and this pointer becomes NULL, even though
519 // render_view_host_ lives on to load another URL (creating a new View while 518 // render_view_host_ lives on to load another URL (creating a new View while
520 // doing so). 519 // doing so).
521 RenderWidgetHostViewPort* view_; 520 RenderWidgetHostViewPort* view_;
522 521
523 // true if a renderer has once been valid. We use this flag to display a sad 522 // true if a renderer has once been valid. We use this flag to display a sad
524 // tab only when we lose our renderer and not if a paint occurs during 523 // tab only when we lose our renderer and not if a paint occurs during
525 // initialization. 524 // initialization.
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 #if defined(OS_WIN) 882 #if defined(OS_WIN)
884 std::list<HWND> dummy_windows_for_activation_; 883 std::list<HWND> dummy_windows_for_activation_;
885 #endif 884 #endif
886 885
887 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 886 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
888 }; 887 };
889 888
890 } // namespace content 889 } // namespace content
891 890
892 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 891 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698