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

Side by Side Diff: chrome/browser/ui/views/extensions/shell_window_views.h

Issue 11193049: Add the app.windows.getBounds method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased against head Created 8 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) 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 CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
7 7
8 #include "chrome/browser/ui/base_window.h" 8 #include "chrome/browser/ui/base_window.h"
9 #include "chrome/browser/ui/extensions/native_shell_window.h" 9 #include "chrome/browser/ui/extensions/native_shell_window.h"
10 #include "chrome/browser/ui/extensions/shell_window.h" 10 #include "chrome/browser/ui/extensions/shell_window.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual const views::Widget* GetWidget() const OVERRIDE; 69 virtual const views::Widget* GetWidget() const OVERRIDE;
70 virtual string16 GetWindowTitle() const OVERRIDE; 70 virtual string16 GetWindowTitle() const OVERRIDE;
71 virtual void DeleteDelegate() OVERRIDE; 71 virtual void DeleteDelegate() OVERRIDE;
72 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 72 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
73 virtual bool ShouldDescendIntoChildForEventHandling( 73 virtual bool ShouldDescendIntoChildForEventHandling(
74 gfx::NativeView child, 74 gfx::NativeView child,
75 const gfx::Point& location) OVERRIDE; 75 const gfx::Point& location) OVERRIDE;
76 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; 76 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE;
77 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; 77 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
78 virtual bool ShouldShowWindowTitle() const OVERRIDE; 78 virtual bool ShouldShowWindowTitle() const OVERRIDE;
79 virtual void OnWidgetMove() OVERRIDE;
79 80
80 protected: 81 protected:
81 // views::View implementation. 82 // views::View implementation.
82 virtual void Layout() OVERRIDE; 83 virtual void Layout() OVERRIDE;
83 virtual void ViewHierarchyChanged( 84 virtual void ViewHierarchyChanged(
84 bool is_add, views::View *parent, views::View *child) OVERRIDE; 85 bool is_add, views::View *parent, views::View *child) OVERRIDE;
85 virtual gfx::Size GetMinimumSize() OVERRIDE; 86 virtual gfx::Size GetMinimumSize() OVERRIDE;
86 virtual gfx::Size GetMaximumSize() OVERRIDE; 87 virtual gfx::Size GetMaximumSize() OVERRIDE;
87 virtual void OnFocus() OVERRIDE; 88 virtual void OnFocus() OVERRIDE;
88 89
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 131
131 // The class that registers for keyboard shortcuts for extension commands. 132 // The class that registers for keyboard shortcuts for extension commands.
132 scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_; 133 scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_;
133 134
134 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; 135 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
135 136
136 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); 137 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews);
137 }; 138 };
138 139
139 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 140 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/extensions/shell_window.cc ('k') | chrome/browser/ui/views/extensions/shell_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698