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

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

Issue 3171028: Change search engine dialog image to be transparent, and use this image flipp... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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
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_VIEWS_FIRST_RUN_SEARCH_ENGINE_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FIRST_RUN_SEARCH_ENGINE_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FIRST_RUN_SEARCH_ENGINE_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FIRST_RUN_SEARCH_ENGINE_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 virtual std::wstring GetWindowTitle() const; 96 virtual std::wstring GetWindowTitle() const;
97 views::View* GetContentsView() { return this; } 97 views::View* GetContentsView() { return this; }
98 bool CanResize() const { return false; } 98 bool CanResize() const { return false; }
99 bool CanMaximize() const { return false; } 99 bool CanMaximize() const { return false; }
100 bool IsAlwaysOnTop() const { return false; } 100 bool IsAlwaysOnTop() const { return false; }
101 bool HasAlwaysOnTopMenu() const { return false; } 101 bool HasAlwaysOnTopMenu() const { return false; }
102 102
103 // Overridden from views::ButtonListener: 103 // Overridden from views::ButtonListener:
104 virtual void ButtonPressed(views::Button* sender, const views::Event& event); 104 virtual void ButtonPressed(views::Button* sender, const views::Event& event);
105 105
106 // Override from View so we can draw the gray background at dialog top.
107 virtual void Paint(gfx::Canvas* canvas);
108
106 // Overridden from TemplateURLModelObserver. When the search engines have 109 // Overridden from TemplateURLModelObserver. When the search engines have
107 // loaded from the profile, we can populate the logos in the dialog box 110 // loaded from the profile, we can populate the logos in the dialog box
108 // to present to the user. 111 // to present to the user.
109 virtual void OnTemplateURLModelChanged(); 112 virtual void OnTemplateURLModelChanged();
110 113
111 private: 114 private:
112 // Initializes the labels and controls in the view. 115 // Initializes the labels and controls in the view.
113 void SetupControls(); 116 void SetupControls();
114 117
115 // Owned by the profile_. 118 // Owned by the profile_.
(...skipping 15 matching lines...) Expand all
131 134
132 // UI elements: 135 // UI elements:
133 views::Label* title_label_; 136 views::Label* title_label_;
134 views::Label* text_label_; 137 views::Label* text_label_;
135 138
136 DISALLOW_COPY_AND_ASSIGN(FirstRunSearchEngineView); 139 DISALLOW_COPY_AND_ASSIGN(FirstRunSearchEngineView);
137 }; 140 };
138 141
139 #endif // CHROME_BROWSER_VIEWS_FIRST_RUN_SEARCH_ENGINE_VIEW_H_ 142 #endif // CHROME_BROWSER_VIEWS_FIRST_RUN_SEARCH_ENGINE_VIEW_H_
140 143
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/views/first_run_search_engine_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698