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

Side by Side Diff: chrome/browser/instant/instant_commit_type.h

Issue 10836031: Remove Instant v1 API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix Created 8 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_INSTANT_INSTANT_COMMIT_TYPE_H_ 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_COMMIT_TYPE_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_COMMIT_TYPE_H_ 6 #define CHROME_BROWSER_INSTANT_INSTANT_COMMIT_TYPE_H_
7 7
8 // Reason why the Instant preview is committed (merged into a tab). 8 // Reason why the Instant preview is committed (merged into a tab).
9 enum InstantCommitType { 9 enum InstantCommitType {
10 // The commit is due to the user pressing enter or tab from the omnibox. 10 // The commit is due to the user pressing Enter from the omnibox.
11 INSTANT_COMMIT_PRESSED_ENTER, 11 INSTANT_COMMIT_PRESSED_ENTER,
12 12
13 // The commit is due to the omnibox losing focus, usually due to the user 13 // The commit is due to the omnibox losing focus, usually due to the user
14 // clicking on the preview. 14 // clicking on the preview.
15 INSTANT_COMMIT_FOCUS_LOST, 15 INSTANT_COMMIT_FOCUS_LOST,
16
17 // Used internally by InstantController.
18 INSTANT_COMMIT_DESTROY
19 }; 16 };
20 17
21 #endif // CHROME_BROWSER_INSTANT_INSTANT_COMMIT_TYPE_H_ 18 #endif // CHROME_BROWSER_INSTANT_INSTANT_COMMIT_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698