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

Side by Side Diff: content/renderer/render_widget.h

Issue 1992393002: Enable external popup menu in Blimp, part 1/2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 void NotifyOnClose(); 417 void NotifyOnClose();
418 418
419 gfx::Size GetSizeForWebWidget() const; 419 gfx::Size GetSizeForWebWidget() const;
420 virtual void ResizeWebWidget(); 420 virtual void ResizeWebWidget();
421 421
422 // Close the underlying WebWidget. 422 // Close the underlying WebWidget.
423 virtual void Close(); 423 virtual void Close();
424 424
425 // Used to force the size of a window when running layout tests. 425 // Used to force the size of a window when running layout tests.
426 void SetWindowRectSynchronously(const gfx::Rect& new_window_rect); 426 void SetWindowRectSynchronously(const gfx::Rect& new_window_rect);
427 #if defined(OS_MACOSX) || defined(OS_ANDROID) 427 #if defined(USE_EXTERNAL_POPUP_MENU)
428 void SetExternalPopupOriginAdjustmentsForEmulation( 428 void SetExternalPopupOriginAdjustmentsForEmulation(
429 ExternalPopupMenu* popup, 429 ExternalPopupMenu* popup,
430 RenderWidgetScreenMetricsEmulator* emulator); 430 RenderWidgetScreenMetricsEmulator* emulator);
431 #endif 431 #endif
432 432
433 // RenderWidget IPC message handlers 433 // RenderWidget IPC message handlers
434 void OnHandleInputEvent(const blink::WebInputEvent* event, 434 void OnHandleInputEvent(const blink::WebInputEvent* event,
435 const ui::LatencyInfo& latency_info, 435 const ui::LatencyInfo& latency_info,
436 InputEventDispatchType dispatch_type); 436 InputEventDispatchType dispatch_type);
437 void OnCursorVisibilityChange(bool is_visible); 437 void OnCursorVisibilityChange(bool is_visible);
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 766
767 // Indicates whether this widget has focus. 767 // Indicates whether this widget has focus.
768 bool has_focus_; 768 bool has_focus_;
769 769
770 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 770 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
771 }; 771 };
772 772
773 } // namespace content 773 } // namespace content
774 774
775 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 775 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698