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

Side by Side Diff: chrome/browser/ui/touch/frame/touch_browser_frame_view.cc

Issue 7212029: Add a browser-test for the keyboard widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 4 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/ui/touch/keyboard/keyboard_manager.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) 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 #include "chrome/browser/ui/touch/frame/touch_browser_frame_view.h" 5 #include "chrome/browser/ui/touch/frame/touch_browser_frame_view.h"
6 6
7 #include "chrome/browser/ui/touch/keyboard/keyboard_manager.h" 7 #include "chrome/browser/ui/touch/keyboard/keyboard_manager.h"
8 #include "ui/base/ime/text_input_type.h" 8 #include "ui/base/ime/text_input_type.h"
9 #include "views/controls/button/image_button.h" 9 #include "views/controls/button/image_button.h"
10 #include "views/controls/textfield/textfield.h" 10 #include "views/controls/textfield/textfield.h"
11 #include "views/focus/focus_manager.h" 11 #include "views/focus/focus_manager.h"
12 #include "views/ime/text_input_client.h" 12 #include "views/ime/text_input_client.h"
13 #include "views/window/hit_test.h"
14 13
15 // static 14 // static
16 const char TouchBrowserFrameView::kViewClassName[] = 15 const char TouchBrowserFrameView::kViewClassName[] =
17 "browser/ui/touch/frame/TouchBrowserFrameView"; 16 "browser/ui/touch/frame/TouchBrowserFrameView";
18 17
19 /////////////////////////////////////////////////////////////////////////////// 18 ///////////////////////////////////////////////////////////////////////////////
20 // TouchBrowserFrameView, public: 19 // TouchBrowserFrameView, public:
21 20
22 TouchBrowserFrameView::TouchBrowserFrameView(BrowserFrame* frame, 21 TouchBrowserFrameView::TouchBrowserFrameView(BrowserFrame* frame,
23 BrowserView* browser_view) 22 BrowserView* browser_view)
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 return true; 82 return true;
84 if (maximize_button()->IsVisible() && 83 if (maximize_button()->IsVisible() &&
85 maximize_button()->GetMirroredBounds().Contains(point)) 84 maximize_button()->GetMirroredBounds().Contains(point))
86 return true; 85 return true;
87 if (minimize_button()->IsVisible() && 86 if (minimize_button()->IsVisible() &&
88 minimize_button()->GetMirroredBounds().Contains(point)) 87 minimize_button()->GetMirroredBounds().Contains(point))
89 return true; 88 return true;
90 89
91 return false; 90 return false;
92 } 91 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/touch/keyboard/keyboard_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698