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

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: rebase and update blimp_engine.gn 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_widget.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) 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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 void NotifyOnClose(); 416 void NotifyOnClose();
417 417
418 gfx::Size GetSizeForWebWidget() const; 418 gfx::Size GetSizeForWebWidget() const;
419 virtual void ResizeWebWidget(); 419 virtual void ResizeWebWidget();
420 420
421 // Close the underlying WebWidget. 421 // Close the underlying WebWidget.
422 virtual void Close(); 422 virtual void Close();
423 423
424 // Used to force the size of a window when running layout tests. 424 // Used to force the size of a window when running layout tests.
425 void SetWindowRectSynchronously(const gfx::Rect& new_window_rect); 425 void SetWindowRectSynchronously(const gfx::Rect& new_window_rect);
426 #if defined(OS_MACOSX) || defined(OS_ANDROID) 426 #if defined(USE_EXTERNAL_POPUP_MENU)
427 void SetExternalPopupOriginAdjustmentsForEmulation( 427 void SetExternalPopupOriginAdjustmentsForEmulation(
428 ExternalPopupMenu* popup, 428 ExternalPopupMenu* popup,
429 RenderWidgetScreenMetricsEmulator* emulator); 429 RenderWidgetScreenMetricsEmulator* emulator);
430 #endif 430 #endif
431 431
432 // RenderWidget IPC message handlers 432 // RenderWidget IPC message handlers
433 void OnHandleInputEvent(const blink::WebInputEvent* event, 433 void OnHandleInputEvent(const blink::WebInputEvent* event,
434 const ui::LatencyInfo& latency_info, 434 const ui::LatencyInfo& latency_info,
435 InputEventDispatchType dispatch_type); 435 InputEventDispatchType dispatch_type);
436 void OnCursorVisibilityChange(bool is_visible); 436 void OnCursorVisibilityChange(bool is_visible);
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 765
766 // Indicates whether this widget has focus. 766 // Indicates whether this widget has focus.
767 bool has_focus_; 767 bool has_focus_;
768 768
769 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 769 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
770 }; 770 };
771 771
772 } // namespace content 772 } // namespace content
773 773
774 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 774 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698