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

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

Issue 11369137: Implement {Start,Stop}CapturingKeyStrokes for Instant. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase. Added comment. Created 8 years 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
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/instant/instant_tab.cc » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_TAB_H_ 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_TAB_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_TAB_H_ 6 #define CHROME_BROWSER_INSTANT_INSTANT_TAB_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void UpOrDownKeyPressed(int count); 45 void UpOrDownKeyPressed(int count);
46 46
47 private: 47 private:
48 // Overridden from InstantClient::Delegate: 48 // Overridden from InstantClient::Delegate:
49 virtual void SetSuggestions( 49 virtual void SetSuggestions(
50 const std::vector<InstantSuggestion>& suggestions) OVERRIDE; 50 const std::vector<InstantSuggestion>& suggestions) OVERRIDE;
51 virtual void InstantSupportDetermined(bool supports_instant) OVERRIDE; 51 virtual void InstantSupportDetermined(bool supports_instant) OVERRIDE;
52 virtual void ShowInstantPreview(InstantShownReason reason, 52 virtual void ShowInstantPreview(InstantShownReason reason,
53 int height, 53 int height,
54 InstantSizeUnits units) OVERRIDE; 54 InstantSizeUnits units) OVERRIDE;
55 virtual void StartCapturingKeyStrokes() OVERRIDE;
56 virtual void StopCapturingKeyStrokes() OVERRIDE;
55 57
56 InstantClient client_; 58 InstantClient client_;
57 InstantController* const controller_; 59 InstantController* const controller_;
58 content::WebContents* const contents_; 60 content::WebContents* const contents_;
59 bool supports_instant_; 61 bool supports_instant_;
60 62
61 DISALLOW_COPY_AND_ASSIGN(InstantTab); 63 DISALLOW_COPY_AND_ASSIGN(InstantTab);
62 }; 64 };
63 65
64 #endif // CHROME_BROWSER_INSTANT_INSTANT_TAB_H_ 66 #endif // CHROME_BROWSER_INSTANT_INSTANT_TAB_H_
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/instant/instant_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698