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

Side by Side Diff: ui/views/widget/native_widget_win.h

Issue 10447053: Converts remainder of ui and chrome/browser/ui/views/frame to use ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sorted headers in modified files Created 8 years, 6 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlapp.h>
9 #include <atlbase.h> 10 #include <atlbase.h>
10 #include <atlapp.h>
11 #include <atlcrack.h> 11 #include <atlcrack.h>
12 #include <atlmisc.h> 12 #include <atlmisc.h>
13 13
14 #include <set> 14 #include <set>
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
19 #include "base/memory/scoped_ptr.h" 19 #include "base/memory/scoped_ptr.h"
20 #include "base/memory/scoped_vector.h" 20 #include "base/memory/scoped_vector.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 ui::AccessibilityTypes::Event event_type) OVERRIDE; 197 ui::AccessibilityTypes::Event event_type) OVERRIDE;
198 virtual void SetCapture() OVERRIDE; 198 virtual void SetCapture() OVERRIDE;
199 virtual void ReleaseCapture() OVERRIDE; 199 virtual void ReleaseCapture() OVERRIDE;
200 virtual bool HasCapture() const OVERRIDE; 200 virtual bool HasCapture() const OVERRIDE;
201 virtual InputMethod* CreateInputMethod() OVERRIDE; 201 virtual InputMethod* CreateInputMethod() OVERRIDE;
202 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; 202 virtual void CenterWindow(const gfx::Size& size) OVERRIDE;
203 virtual void GetWindowPlacement( 203 virtual void GetWindowPlacement(
204 gfx::Rect* bounds, 204 gfx::Rect* bounds,
205 ui::WindowShowState* show_state) const OVERRIDE; 205 ui::WindowShowState* show_state) const OVERRIDE;
206 virtual void SetWindowTitle(const string16& title) OVERRIDE; 206 virtual void SetWindowTitle(const string16& title) OVERRIDE;
207 virtual void SetWindowIcons(const SkBitmap& window_icon, 207 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
208 const SkBitmap& app_icon) OVERRIDE; 208 const gfx::ImageSkia& app_icon) OVERRIDE;
209 virtual void SetAccessibleName(const string16& name) OVERRIDE; 209 virtual void SetAccessibleName(const string16& name) OVERRIDE;
210 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; 210 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE;
211 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; 211 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE;
212 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; 212 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
213 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; 213 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE;
214 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; 214 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE;
215 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 215 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
216 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 216 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
217 virtual void SetSize(const gfx::Size& size) OVERRIDE; 217 virtual void SetSize(const gfx::Size& size) OVERRIDE;
218 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; 218 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE;
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 662
663 // The set of touch devices currently down. 663 // The set of touch devices currently down.
664 TouchIDs touch_ids_; 664 TouchIDs touch_ids_;
665 665
666 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); 666 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin);
667 }; 667 };
668 668
669 } // namespace views 669 } // namespace views
670 670
671 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 671 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698