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

Side by Side Diff: chrome/browser/tab_contents/web_contents_view_gtk.h

Issue 40065: RenderWidgetHost now stores both the WebKeyboardEvent and the native (Closed)
Patch Set: Redesign Created 11 years, 9 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) 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_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
7 7
8 #include "chrome/browser/tab_contents/web_contents_view.h" 8 #include "chrome/browser/tab_contents/web_contents_view.h"
9 9
10 class WebContentsViewGtk : public WebContentsView { 10 class WebContentsViewGtk : public WebContentsView {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual void ShowCreatedWindowInternal(WebContents* new_web_contents, 47 virtual void ShowCreatedWindowInternal(WebContents* new_web_contents,
48 WindowOpenDisposition disposition, 48 WindowOpenDisposition disposition,
49 const gfx::Rect& initial_pos, 49 const gfx::Rect& initial_pos,
50 bool user_gesture); 50 bool user_gesture);
51 virtual void ShowCreatedWidgetInternal(RenderWidgetHostView* widget_host_view, 51 virtual void ShowCreatedWidgetInternal(RenderWidgetHostView* widget_host_view,
52 const gfx::Rect& initial_pos); 52 const gfx::Rect& initial_pos);
53 virtual void ShowContextMenu(const ContextMenuParams& params); 53 virtual void ShowContextMenu(const ContextMenuParams& params);
54 virtual void StartDragging(const WebDropData& drop_data); 54 virtual void StartDragging(const WebDropData& drop_data);
55 virtual void UpdateDragCursor(bool is_drop_target); 55 virtual void UpdateDragCursor(bool is_drop_target);
56 virtual void TakeFocus(bool reverse); 56 virtual void TakeFocus(bool reverse);
57 virtual void HandleKeyboardEvent(const WebKeyboardEvent& event); 57 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
58 virtual void OnFindReply(int request_id, 58 virtual void OnFindReply(int request_id,
59 int number_of_matches, 59 int number_of_matches,
60 const gfx::Rect& selection_rect, 60 const gfx::Rect& selection_rect,
61 int active_match_ordinal, 61 int active_match_ordinal,
62 bool final_update); 62 bool final_update);
63 private: 63 private:
64 WebContents* web_contents_; 64 WebContents* web_contents_;
65 65
66 GtkWidget* vbox_; 66 GtkWidget* vbox_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk); 68 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk);
69 }; 69 };
70 70
71 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 71 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
72 72
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698