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

Side by Side Diff: chrome/browser/chromeos/frame/browser_view.h

Issue 8656004: Remove more totally obvious usage of: defined(TOUCH_UI) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHROMEOS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // StatusAreaButton::Delegate overrides. 90 // StatusAreaButton::Delegate overrides.
91 virtual bool ShouldExecuteStatusAreaCommand( 91 virtual bool ShouldExecuteStatusAreaCommand(
92 const views::View* button_view, int command_id) const OVERRIDE; 92 const views::View* button_view, int command_id) const OVERRIDE;
93 virtual void ExecuteStatusAreaCommand( 93 virtual void ExecuteStatusAreaCommand(
94 const views::View* button_view, int command_id) OVERRIDE; 94 const views::View* button_view, int command_id) OVERRIDE;
95 virtual gfx::Font GetStatusAreaFont(const gfx::Font& font) const OVERRIDE; 95 virtual gfx::Font GetStatusAreaFont(const gfx::Font& font) const OVERRIDE;
96 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE; 96 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE;
97 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; 97 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE;
98 98
99 // MessageLoopForUI::Observer overrides. 99 // MessageLoopForUI::Observer overrides.
100 #if defined(TOUCH_UI) || defined(USE_AURA) 100 #if defined(USE_AURA)
101 // MessageLoopForUI::Observer overrides. 101 // MessageLoopForUI::Observer overrides.
102 virtual base::EventStatus WillProcessEvent( 102 virtual base::EventStatus WillProcessEvent(
103 const base::NativeEvent& event) OVERRIDE; 103 const base::NativeEvent& event) OVERRIDE;
104 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; 104 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE;
105 #else 105 #else
106 virtual void WillProcessEvent(GdkEvent* event) OVERRIDE {} 106 virtual void WillProcessEvent(GdkEvent* event) OVERRIDE {}
107 virtual void DidProcessEvent(GdkEvent* event) OVERRIDE; 107 virtual void DidProcessEvent(GdkEvent* event) OVERRIDE;
108 #endif 108 #endif
109 109
110 gfx::NativeView saved_focused_widget() const { 110 gfx::NativeView saved_focused_widget() const {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // Should the layout mode button be shown? We only show it if there are 157 // Should the layout mode button be shown? We only show it if there are
158 // multiple browsers open. 158 // multiple browsers open.
159 bool should_show_layout_mode_button_; 159 bool should_show_layout_mode_button_;
160 160
161 DISALLOW_COPY_AND_ASSIGN(BrowserView); 161 DISALLOW_COPY_AND_ASSIGN(BrowserView);
162 }; 162 };
163 163
164 } // namespace chromeos 164 } // namespace chromeos
165 165
166 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 166 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/chromeos/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698