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

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

Issue 235693002: Merge 260900 "linux_aura: Port GtkKeybindingsHandler to Aura." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1916/src/
Patch Set: Created 6 years, 8 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_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 static void ReturnSubscriberTexture( 518 static void ReturnSubscriberTexture(
519 base::WeakPtr<RenderWidgetHostViewAura> rwhva, 519 base::WeakPtr<RenderWidgetHostViewAura> rwhva,
520 scoped_refptr<OwnedMailbox> subscriber_texture, 520 scoped_refptr<OwnedMailbox> subscriber_texture,
521 uint32 sync_point); 521 uint32 sync_point);
522 522
523 ui::Compositor* GetCompositor() const; 523 ui::Compositor* GetCompositor() const;
524 524
525 // Detaches |this| from the input method object. 525 // Detaches |this| from the input method object.
526 void DetachFromInputMethod(); 526 void DetachFromInputMethod();
527 527
528 // Before calling RenderWidgetHost::ForwardKeyboardEvent(), this method
529 // calls our keybindings handler against the event and send matched
530 // edit commands to renderer instead.
531 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& event);
532
528 // Dismisses a Web Popup on a mouse or touch press outside the popup and its 533 // Dismisses a Web Popup on a mouse or touch press outside the popup and its
529 // parent. 534 // parent.
530 void ApplyEventFilterForPopupExit(ui::LocatedEvent* event); 535 void ApplyEventFilterForPopupExit(ui::LocatedEvent* event);
531 536
532 // Converts |rect| from window coordinate to screen coordinate. 537 // Converts |rect| from window coordinate to screen coordinate.
533 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const; 538 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const;
534 539
535 // Converts |rect| from screen coordinate to window coordinate. 540 // Converts |rect| from screen coordinate to window coordinate.
536 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const; 541 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const;
537 542
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 // etc. 806 // etc.
802 scoped_ptr<content::LegacyRenderWidgetHostHWND> 807 scoped_ptr<content::LegacyRenderWidgetHostHWND>
803 legacy_render_widget_host_HWND_; 808 legacy_render_widget_host_HWND_;
804 #endif 809 #endif
805 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 810 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
806 }; 811 };
807 812
808 } // namespace content 813 } // namespace content
809 814
810 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 815 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698