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

Side by Side Diff: chrome/browser/extensions/extension_host.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_EXTENSIONS_EXTENSION_HOST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/perftimer.h" 10 #include "base/perftimer.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual void CreateNewWindow(int route_id); 139 virtual void CreateNewWindow(int route_id);
140 virtual void CreateNewWidget(int route_id, bool activatable); 140 virtual void CreateNewWidget(int route_id, bool activatable);
141 virtual void ShowCreatedWindow(int route_id, 141 virtual void ShowCreatedWindow(int route_id,
142 WindowOpenDisposition disposition, 142 WindowOpenDisposition disposition,
143 const gfx::Rect& initial_pos, 143 const gfx::Rect& initial_pos,
144 bool user_gesture); 144 bool user_gesture);
145 virtual void ShowCreatedWidget(int route_id, 145 virtual void ShowCreatedWidget(int route_id,
146 const gfx::Rect& initial_pos); 146 const gfx::Rect& initial_pos);
147 virtual void ShowContextMenu(const ContextMenuParams& params); 147 virtual void ShowContextMenu(const ContextMenuParams& params);
148 virtual void StartDragging(const WebDropData& drop_data, 148 virtual void StartDragging(const WebDropData& drop_data,
149 WebKit::WebDragOperationsMask allowed_operations); 149 WebKit::WebDragOperationsMask allowed_operations,
150 const SkBitmap& image,
151 const gfx::Point& image_offset);
150 virtual void UpdateDragCursor(WebKit::WebDragOperation operation); 152 virtual void UpdateDragCursor(WebKit::WebDragOperation operation);
151 virtual void GotFocus(); 153 virtual void GotFocus();
152 virtual void TakeFocus(bool reverse); 154 virtual void TakeFocus(bool reverse);
153 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 155 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
154 bool* is_keyboard_shortcut); 156 bool* is_keyboard_shortcut);
155 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 157 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
156 virtual void HandleMouseEvent(); 158 virtual void HandleMouseEvent();
157 virtual void HandleMouseLeave(); 159 virtual void HandleMouseLeave();
158 virtual void UpdatePreferredSize(const gfx::Size& new_size); 160 virtual void UpdatePreferredSize(const gfx::Size& new_size);
159 161
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // are used here, others are not hosted by ExtensionHost. 256 // are used here, others are not hosted by ExtensionHost.
255 ViewType::Type extension_host_type_; 257 ViewType::Type extension_host_type_;
256 258
257 // Used to measure how long it's been since the host was created. 259 // Used to measure how long it's been since the host was created.
258 PerfTimer since_created_; 260 PerfTimer since_created_;
259 261
260 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 262 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
261 }; 263 };
262 264
263 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 265 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698