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

Side by Side Diff: chrome/browser/render_view_host_delegate.h

Issue 8885: Implementation of the UI part of the autofill (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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
« no previous file with comments | « chrome/browser/render_view_host.cc ('k') | chrome/browser/render_widget_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_RENDER_VIEW_HOST_DELEGATE_H__ 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__
6 #define CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // window should be created associated with the given route, but it should 53 // window should be created associated with the given route, but it should
54 // not be shown yet. That should happen in response to ShowCreatedWindow. 54 // not be shown yet. That should happen in response to ShowCreatedWindow.
55 // 55 //
56 // Note: this is not called "CreateWindow" because that will clash with 56 // Note: this is not called "CreateWindow" because that will clash with
57 // the Windows function which is actually a #define. 57 // the Windows function which is actually a #define.
58 virtual void CreateNewWindow(int route_id, HANDLE modal_dialog_event) = 0; 58 virtual void CreateNewWindow(int route_id, HANDLE modal_dialog_event) = 0;
59 59
60 // The page is trying to open a new widget (e.g. a select popup). The 60 // The page is trying to open a new widget (e.g. a select popup). The
61 // widget should be created associated with the given route, but it should 61 // widget should be created associated with the given route, but it should
62 // not be shown yet. That should happen in response to ShowCreatedWidget. 62 // not be shown yet. That should happen in response to ShowCreatedWidget.
63 virtual void CreateNewWidget(int route_id) = 0; 63 // If |focus_on_show| is true, the focus is given to the widget when shown,
64 // otherwise the focus is not changed.
65 virtual void CreateNewWidget(int route_id,
66 bool focus_on_show) = 0;
64 67
65 // Show a previously created page with the specified disposition and bounds. 68 // Show a previously created page with the specified disposition and bounds.
66 // The window is identified by the route_id passed to CreateNewWindow. 69 // The window is identified by the route_id passed to CreateNewWindow.
67 // 70 //
68 // Note: this is not called "ShowWindow" because that will clash with 71 // Note: this is not called "ShowWindow" because that will clash with
69 // the Windows function which is actually a #define. 72 // the Windows function which is actually a #define.
70 virtual void ShowCreatedWindow(int route_id, 73 virtual void ShowCreatedWindow(int route_id,
71 WindowOpenDisposition disposition, 74 WindowOpenDisposition disposition,
72 const gfx::Rect& initial_pos, 75 const gfx::Rect& initial_pos,
73 bool user_gesture) = 0; 76 bool user_gesture) = 0;
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 const webkit_glue::WebApplicationInfo& app_info) { } 361 const webkit_glue::WebApplicationInfo& app_info) { }
359 362
360 // Notification the user has pressed enter or space while focus was on the 363 // Notification the user has pressed enter or space while focus was on the
361 // page. This is used to avoid uninitiated user downloads (aka carpet 364 // page. This is used to avoid uninitiated user downloads (aka carpet
362 // bombing), see DownloadRequestManager for details. 365 // bombing), see DownloadRequestManager for details.
363 virtual void OnEnterOrSpace() { } 366 virtual void OnEnterOrSpace() { }
364 }; 367 };
365 368
366 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ 369 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__
367 370
OLDNEW
« no previous file with comments | « chrome/browser/render_view_host.cc ('k') | chrome/browser/render_widget_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698