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

Side by Side Diff: chrome/browser/gtk/notifications/balloon_view_host_gtk.h

Issue 1112004: Merge 41876 - Revert r41803 and r41799... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/356/src/
Patch Set: Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_
6 #define CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ 6 #define CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_
7 7
8 #include "chrome/browser/gtk/extension_view_gtk.h" 8 #include "chrome/browser/gtk/extension_view_gtk.h"
9 #include "chrome/browser/notifications/balloon.h" 9 #include "chrome/browser/notifications/balloon.h"
10 #include "chrome/browser/notifications/notification.h" 10 #include "chrome/browser/notifications/notification.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual void CreateNewWindow(int route_id); 73 virtual void CreateNewWindow(int route_id);
74 virtual void CreateNewWidget(int route_id, bool activatable) {} 74 virtual void CreateNewWidget(int route_id, bool activatable) {}
75 virtual void ShowCreatedWindow(int route_id, 75 virtual void ShowCreatedWindow(int route_id,
76 WindowOpenDisposition disposition, 76 WindowOpenDisposition disposition,
77 const gfx::Rect& initial_pos, 77 const gfx::Rect& initial_pos,
78 bool user_gesture); 78 bool user_gesture);
79 virtual void ShowCreatedWidget(int route_id, 79 virtual void ShowCreatedWidget(int route_id,
80 const gfx::Rect& initial_pos) {} 80 const gfx::Rect& initial_pos) {}
81 virtual void ShowContextMenu(const ContextMenuParams& params) {} 81 virtual void ShowContextMenu(const ContextMenuParams& params) {}
82 virtual void StartDragging(const WebDropData& drop_data, 82 virtual void StartDragging(const WebDropData& drop_data,
83 WebKit::WebDragOperationsMask allowed_ops, 83 WebKit::WebDragOperationsMask allowed_ops) {}
84 const SkBitmap& image,
85 const gfx::Point& image_offset) {}
86 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} 84 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {}
87 virtual void GotFocus() {} 85 virtual void GotFocus() {}
88 virtual void TakeFocus(bool reverse) {} 86 virtual void TakeFocus(bool reverse) {}
89 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 87 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
90 bool* is_keyboard_shortcut) { 88 bool* is_keyboard_shortcut) {
91 return false; 89 return false;
92 } 90 }
93 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} 91 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {}
94 virtual void HandleMouseEvent() {} 92 virtual void HandleMouseEvent() {}
95 virtual void HandleMouseLeave() {} 93 virtual void HandleMouseLeave() {}
(...skipping 30 matching lines...) Expand all
126 // The GTK-specific widget host view. 124 // The GTK-specific widget host view.
127 RenderWidgetHostViewGtk* render_widget_host_view_; 125 RenderWidgetHostViewGtk* render_widget_host_view_;
128 126
129 // Common implementations of some RenderViewHostDelegate::View methods. 127 // Common implementations of some RenderViewHostDelegate::View methods.
130 RenderViewHostDelegateViewHelper delegate_view_helper_; 128 RenderViewHostDelegateViewHelper delegate_view_helper_;
131 129
132 DISALLOW_COPY_AND_ASSIGN(BalloonViewHost); 130 DISALLOW_COPY_AND_ASSIGN(BalloonViewHost);
133 }; 131 };
134 132
135 #endif // CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ 133 #endif // CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/gtk/tab_contents_drag_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698