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

Side by Side Diff: chrome/browser/views/go_button.h

Issue 216045: Implements a NOTIMPLEMENTED in GoButton. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/views/go_button.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 (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_VIEWS_GO_BUTTON_H__ 5 #ifndef CHROME_BROWSER_VIEWS_GO_BUTTON_H__
6 #define CHROME_BROWSER_VIEWS_GO_BUTTON_H__ 6 #define CHROME_BROWSER_VIEWS_GO_BUTTON_H__
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "views/controls/button/image_button.h" 10 #include "views/controls/button/image_button.h"
(...skipping 28 matching lines...) Expand all
39 // Overridden from views::ButtonListener: 39 // Overridden from views::ButtonListener:
40 virtual void ButtonPressed(views::Button* button, const views::Event& event); 40 virtual void ButtonPressed(views::Button* button, const views::Event& event);
41 41
42 // Overridden from views::View: 42 // Overridden from views::View:
43 virtual void OnMouseExited(const views::MouseEvent& e); 43 virtual void OnMouseExited(const views::MouseEvent& e);
44 virtual bool GetTooltipText(int x, int y, std::wstring* tooltip); 44 virtual bool GetTooltipText(int x, int y, std::wstring* tooltip);
45 45
46 private: 46 private:
47 void OnButtonTimer(); 47 void OnButtonTimer();
48 48
49 int button_delay_;
50 ScopedRunnableMethodFactory<GoButton> stop_timer_; 49 ScopedRunnableMethodFactory<GoButton> stop_timer_;
51 50
52 LocationBarView* location_bar_; 51 LocationBarView* location_bar_;
53 Browser* browser_; 52 Browser* browser_;
54 53
55 // The mode we should be in 54 // The mode we should be in
56 Mode intended_mode_; 55 Mode intended_mode_;
57 56
58 // The currently-visible mode - this may different from the intended mode 57 // The currently-visible mode - this may different from the intended mode
59 Mode visible_mode_; 58 Mode visible_mode_;
60 59
61 DISALLOW_COPY_AND_ASSIGN(GoButton); 60 DISALLOW_COPY_AND_ASSIGN(GoButton);
62 }; 61 };
63 62
64 #endif // CHROME_BROWSER_VIEWS_GO_BUTTON_H__ 63 #endif // CHROME_BROWSER_VIEWS_GO_BUTTON_H__
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/go_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698