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

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

Issue 1037008: Retry r41799:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/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) {}
84 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} 86 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {}
85 virtual void GotFocus() {} 87 virtual void GotFocus() {}
86 virtual void TakeFocus(bool reverse) {} 88 virtual void TakeFocus(bool reverse) {}
87 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 89 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
88 bool* is_keyboard_shortcut) { 90 bool* is_keyboard_shortcut) {
89 return false; 91 return false;
90 } 92 }
91 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} 93 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {}
92 virtual void HandleMouseEvent() {} 94 virtual void HandleMouseEvent() {}
93 virtual void HandleMouseLeave() {} 95 virtual void HandleMouseLeave() {}
(...skipping 30 matching lines...) Expand all
124 // The GTK-specific widget host view. 126 // The GTK-specific widget host view.
125 RenderWidgetHostViewGtk* render_widget_host_view_; 127 RenderWidgetHostViewGtk* render_widget_host_view_;
126 128
127 // Common implementations of some RenderViewHostDelegate::View methods. 129 // Common implementations of some RenderViewHostDelegate::View methods.
128 RenderViewHostDelegateViewHelper delegate_view_helper_; 130 RenderViewHostDelegateViewHelper delegate_view_helper_;
129 131
130 DISALLOW_COPY_AND_ASSIGN(BalloonViewHost); 132 DISALLOW_COPY_AND_ASSIGN(BalloonViewHost);
131 }; 133 };
132 134
133 #endif // CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_ 135 #endif // CHROME_BROWSER_GTK_NOTIFICATIONS_BALLOON_VIEW_HOST_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698